Queries the operations records of a cluster for the last three days.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListClusterLogs

The operation that you want to perform. Set the value to ListClusterLogs.

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

PageNumber Integer No 1

The number of the page to return. Pages start from page 1.

PageSize Integer No 10

The number of entries to return on each page. Valid values: 1 to 100

Default: 10

Response parameters

Parameter Type Example Description
ClusterId String ehpc-hz-FYUr32****

The ID of the cluster.

Logs Array of LogInfo

The details about operations logs.

CreateTime String 2019-09-18T13:24:13.000

The time when the log was created.

Level String info

The severity level of the log entry.

Message String Begin to create cluster

The content of the log entry.

Operation String CreateCluster

The name of the operation.

PageNumber Integer 1

The number of the returned page.

PageSize Integer 1

The number of entries that are returned per page.

RequestId String BBC2F93D-003A-49C4-850C-B826EECF6667

The ID of the request.

TotalCount Integer 2

The total number of entries.


Sample requests

&<Common request parameters>

Sample success responses

XML format

                  <Message>Begin to create cluster</Message>

JSON format

    "PageNumber": 1,
    "Logs": {
        "LogInfo": [
                "Operation": "CreateCluster",
                "Message": "Begin to create cluster",
                "CreateTime": "2019-09-18T13:24:13.000Z",
                "Level": "info"
    "TotalCount": 1,
    "ClusterId": "ehpc-hz-FYUr32****",
    "PageSize": 20,
    "RequestId": "BBC2F93D-003A-49C4-850C-B826EECF6667"

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.