forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: zhoumeng35 <zhoumeng35@huawei.com> Co-committed-by: zhoumeng35 <zhoumeng35@huawei.com>
8.7 KiB
8.7 KiB
Viewing Details of a Log
Function
This API is used to view details of a log.
URI
GET /v3/{project_id}/elb/logtanks/{logtank_id}
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. |
logtank_id |
Yes |
String |
Specifies the log ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the token used for IAM authentication. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
request_id |
String |
Specifies the request ID. The value is automatically generated. |
logtank |
Logtank object |
Provides supplementary information. |
Example Requests
Viewing details of a log
GET https://{ELB_Endpoint}/v3/060576798a80d5762fafc01a9b5eedc7/elb/logtanks/603e507f-3e18-498b-9460-01a3b6c28fc5
Example Responses
Status code: 200
OK
{
"logtank" : {
"project_id" : "060576798a80d5762fafc01a9b5eedc7",
"log_topic_id" : "5b9b8370-a1fc-4c59-a509-483a673c8a94",
"id" : "603e507f-3e18-498b-9460-01a3b6c28fc5",
"log_group_id" : "7733882e-f7fa-4fb0-a460-0605c48a2280",
"loadbalancer_id" : "47ecc304-3f1a-4cc6-9c1c-72add483b9ce"
},
"request_id" : "59662f86620f8fc09c908eed060a2f0e"
}
Status Codes
Status Code |
Description |
|---|---|
200 |
OK |
Error Codes
See Error Codes.
Parent topic: Log