Viewing the Details of a Log
Function
This API is used to view the details of a log.
Calling Method
For details, see Calling APIs.
URI
GET /v3/{project_id}/elb/logtanks/{logtank_id}
Parameter | Mandatory | Type | Description |
|---|---|---|---|
project_id | Yes | String | Definition: Specifies the project ID. For details about how to obtain a project ID, see Obtaining a Project ID. Constraints: N/A Range: The value can contain a maximum of 32 characters, including digits and lowercase letters. Default value: N/A |
logtank_id | Yes | String | Definition: Specifies the log ID. Constraints: N/A Range: N/A Default value: N/A |
Request Parameters
Parameter | Mandatory | Type | Description |
|---|---|---|---|
X-Auth-Token | Yes | String | Definition: Specifies the token used for IAM authentication. Constraints: N/A Range: N/A Default value: N/A |
Response Parameters
Status code: 200
Parameter | Type | Description |
|---|---|---|
request_id | String | Definition: Specifies the request ID. Range: The value is automatically generated, and can contain characters including digits, lowercase letters, and hyphens (-). |
logtank | Logtank object | Definition: Provides supplementary information about the log. |
Parameter | Type | Description |
|---|---|---|
id | String | Definition: Specifies the log ID. Range: N/A |
project_id | String | Definition: Specifies the project ID. For details about how to obtain a project ID, see Obtaining a Project ID. Range: The value can contain a maximum of 32 characters, including digits and lowercase letters. |
loadbalancer_id | String | Definition: Specifies the load balancer ID. Range: N/A |
log_group_id | String | Definition: Specifies the log group ID. Range: N/A |
log_topic_id | String | Definition: Specifies the log topic ID. Range: N/A |
Example Requests
Viewing the 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

