All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeServiceMeshLogs

Last Updated:Mar 05, 2024

Queries the logs of a Service Mesh (ASM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

ca04bc38979214bf2882be79d39b4****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

31d3a0f0-07ed-4f6e-9004-1804498c****
Logsobject []

The details of the logs.

CreationTimestring

The point in time when the logs were generated.

2021-11-19T15:21:53+08:00
ServiceMeshIdstring

The ASM instance ID.

ca04bc38979214bf2882be79d39b4****
Logstring

The content of the logs.

[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****

Examples

Sample success responses

JSONformat

{
  "RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****",
  "Logs": [
    {
      "CreationTime": "2021-11-19T15:21:53+08:00",
      "ServiceMeshId": "ca04bc38979214bf2882be79d39b4****",
      "Log": "[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.