ListStatsEventRecords
Retrieves event statistics.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListStatsEventRecords |
none |
*All Resource
|
None | None |
Request syntax
GET /openapi/event/statsEventRecords HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| eventType |
string |
No |
The event type. Valid values:
|
UserOperator |
| status |
string |
No |
The event status. |
Executed |
| level |
string |
No |
The event level. |
Info |
| startTime |
integer |
No |
The start time of the statistical window. The value is a UNIX timestamp in seconds. This parameter must be used together with endTime. |
1000 |
| endTime |
integer |
No |
The end time of the statistical window. The value is a UNIX timestamp in seconds. This parameter must be used together with startTime and must be later than the start time. |
4600 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC**** |
| Result |
object |
The returned results. |
|
| total |
string |
The total number of entries. |
6 |
| result |
array<object> |
The returned results. |
|
|
object |
The returned results. |
||
| type |
string |
The event type. |
UserOperator |
| status |
string |
The event status. |
Executed |
| level |
string |
The event level. |
Info |
| cnt |
string |
The number of events. |
4 |
Examples
Success response
JSON format
{
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC****",
"Result": {
"total": "6",
"result": [
{
"type": "UserOperator",
"status": "Executed",
"level": "Info",
"cnt": "4"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.