Domain name for API request: cloudaudit.tencentcloudapi.com.
This API is used to search for operation logs to help query relevant operation information.
A maximum of 200 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: LookUpEvents. |
Version | Yes | String | Common parameter. The value used for this API: 2019-03-19. |
Region | Yes | String | Common parameter. For more information, please see the list of regions supported by the product. This API only supports: ap-guangzhou, ap-taipei |
EndTime | Yes | Integer | End time |
StartTime | Yes | Integer | Start time |
LookupAttributes.N | No | Array of LookupAttribute | Search criteria |
MaxResults | No | Integer | Maximum number of logs to be returned |
Mode | No | String | CloudAudit mode. Valid values: standard, quick. Default value: standard |
NextToken | No | String | Credential for viewing more logs |
Parameter Name | Type | Description |
---|---|---|
Events | Array of Event | Logset |
ListOver | Boolean | Whether the logset ends |
NextToken | String | Credential for viewing more logs |
RequestId | String | Unique ID of request. Each request returns a unique ID. The RequestId is required for troubleshooting. |
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError.SearchError | Internal error. Please submit a ticket for assistance. |
InvalidParameter.Time | The parameter must contain the start time and end time and must be an integer timestamp (accurate down to the second). |
InvalidParameterValue.MaxResult | The maximum number of entries returned in one search is 50. |
InvalidParameterValue.Time | The start time cannot be greater than the end time. |
InvalidParameterValue.attributeKey | Valid values of AttributeKey : RequestId, EventName, ReadOnly, Username, ResourceType, ResourceName, AccessKeyId |
LimitExceeded.OverTime | Only entries for the last 7 days can be searched for. |
Was this page helpful?