Retrieves service mesh logs.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
servicemesh:DescribeServiceMeshLogs | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ServiceMeshId | string | Yes | The ID of the ASM instance. | ca04bc38979214bf2882be79d39b4**** |
Response elements
Element | Type | Description | Example |
object | The log records of the service mesh. | ||
RequestId | string | The ID of the request. | 31d3a0f0-07ed-4f6e-9004-1804498c**** |
| Logs | array<object> | A list of log entries. | |
object | A log entry. | ||
CreationTime | string | The time when the log entry was created. | 2021-11-19T15:21:53+08:00 |
ServiceMeshId | string | The ID of the ASM instance. | ca04bc38979214bf2882be79d39b4**** |
Log | string | The content of the log entry. | [RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313**** |
Examples
Success response
JSON format
{
"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
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.