Queries detailed logs by request ID. The logs are organized in a three-layer Action-Stage-Method structure that lists the detailed steps involved in each operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:GetCommonLogDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| From |
integer |
Yes |
The beginning of the time range to query. Specify a UNIX timestamp in seconds. |
1703821542 |
| To |
integer |
Yes |
The end of the time range to query. Specify a UNIX timestamp in seconds. |
1703821666 |
| LogRequestId |
string |
Yes |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE7**** |
| HiddenProcess |
boolean |
No |
Whether to hide the process details of each step. Valid values:
Default value: true. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
464E9919-D04F-4D1D-B375-15989492**** |
| Uid |
string |
The ID of the Alibaba Cloud account. |
137*** |
| OperatorUid |
string |
The account ID of the operator. |
239*** |
| Action |
string |
The action name. |
CreateCluster |
| ClusterId |
string |
The cluster ID. |
ehpc-hz-abc*** |
| LogType |
string |
The log type. |
operation |
| LogDetail |
array<object> |
The log entries. |
|
|
array<object> |
The log entry details. |
||
| StageName |
string |
The stage name of the log. |
ConfigNetwork |
| Stages |
array<object> |
The log stages. |
|
|
object |
The log stage details. |
||
| RequestId |
string |
The request ID associated with the log. |
04F0F334-1335-436C-A1D7-6C044FE7**** |
| Time |
string |
The time when the log was generated. |
2024-08-22 14:21:54 |
| Method |
string |
The method name. |
CreateSecurityGroup |
| Status |
string |
The action status. Valid values:
|
Finished |
| LogLevel |
string |
The log level. Valid values:
Valid values:
|
INFO |
| Target |
string |
The target resource. |
sg-bcd*** |
| Message |
string |
The log message. |
Successfully created security group sg-bcd*** |
Examples
Success response
JSON format
{
"RequestId": "464E9919-D04F-4D1D-B375-15989492****\n",
"Uid": "137***",
"OperatorUid": "239***",
"Action": "CreateCluster",
"ClusterId": "ehpc-hz-abc***",
"LogType": "operation",
"LogDetail": [
{
"StageName": "ConfigNetwork",
"Stages": [
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
"Time": "2024-08-22 14:21:54\n",
"Method": "CreateSecurityGroup",
"Status": "Finished",
"LogLevel": "INFO",
"Target": "sg-bcd***",
"Message": "Successfully created security group sg-bcd***"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 404 | ClusterNotFound | The specified cluster does not exist. | The specified instance does not exist. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.