Queries the number of times that a custom event occurred during each interval of a time period.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Name | string | No | The name of the custom event. | BucketIngressBandwidth |
Level | string | No | The level of the custom event. Valid values:
| CRITICAL |
EventId | string | No | The ID of the custom event. | 123 |
GroupId | string | No | The ID of the application group. | 12345 |
SearchKeywords | string | No | The keywords that are contained in the content of the custom event to query. You can use a logical operator between keywords.
| cms |
StartTime | string | No | The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. | 1552209685596 |
EndTime | string | No | The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. | 1552220485596 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "success",
"RequestId": "486029C9-53E1-44B4-85A8-16A571A043FD",
"Success": "true",
"EventHistograms": {
"EventHistogram": [
{
"EndTime": 1552226750000,
"StartTime": 1552226740000,
"Count": 3
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterInvalid | Illegal parameters. | - |
403 | AccessForbidden | User not authorized to operate on the specified resource. | - |
404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
500 | InternalError | The request processing has failed due to some unknown error. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|