DescribeSystemEventAttribute
Queries the details of system events.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeSystemEventAttribute |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Product |
string |
No |
The abbreviation of the product name. Note
For more information about valid values for the product name abbreviation, see DescribeSystemEventMetaList. |
oss |
| EventType |
string |
No |
The event type. Note
For more information about valid values for the event type, see DescribeSystemEventMetaList. |
Exception |
| Name |
string |
No |
The event name. Note
For more information about valid values for the event name, see DescribeSystemEventMetaList. |
BucketIngressBandwidth |
| Level |
string |
No |
The event level. Valid values:
|
CRITICAL |
| Status |
string |
No |
The event status. Note
For more information about valid values for the event status, see DescribeSystemEventMetaList. |
normal |
| GroupId |
string |
No |
The ID of the application group. |
12346 |
| SearchKeywords |
string |
No |
The keywords used to search event content. Valid values:
|
cms |
| StartTime |
string |
No |
The start time. The value is a UNIX timestamp that represents the number of milliseconds that have elapsed since January 1, 1970. |
1552199984949 |
| EndTime |
string |
No |
The end time. The value is a UNIX timestamp that represents the number of milliseconds that have elapsed since January 1, 1970. |
1552221584949 |
| PageNumber |
integer |
No |
The page number. Valid values: 1 to 100000000. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 100. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A value of 200 indicates that the call was successful. |
200 |
| Message |
string |
The returned message. If the call is successful, |
success |
| RequestId |
string |
The request ID. |
60912C8D-B340-4253-ADE7-61ACDFD25CFC |
| Success |
string |
Indicates whether the call was successful. A value of true indicates that the call was successful. A value of false indicates that the call failed. |
true |
| SystemEvents |
object |
||
| SystemEvent |
array<object> |
The details of the event content. |
|
|
object |
|||
| Status |
string |
The event status. |
normal |
| Time |
integer |
The timestamp when the event occurred. Unit: milliseconds. |
1552199984000 |
| GroupId |
string |
The ID of the application group. |
12345 |
| Product |
string |
The abbreviation of the product name. |
CloudMonitor |
| InstanceName |
string |
The instance name. |
instanceId1 |
| ResourceId |
string |
The resource ID. |
xxxxx-1 |
| Name |
string |
The event name. |
Agent_Status_Stopped |
| Content |
string |
The details of the event content. |
[{"product":"CloudMonitor","content":"{\"ipGroup\":\"112.126.XX.XX,10.163.XX.XX\",\"tianjimonVersion\":\"1.2.22\"}","groupId":"176,177,178,179,180,692,120812,1663836,96,2028302","time":"1552209568000","resourceId":"acs:ecs:cn-beijing:173651113438****:instance/i-25k35****","level":"CRITICAL","status":"stopped","instanceName":"cmssiteprobebj-6","name":"Agent_Status_Stopped","regionId":"cn-beijing"}] |
| Level |
string |
The event level. Valid values:
|
WARN |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Id |
string |
The event ID. |
b936efc9-f621-4e8a-a6eb-076be40e**** |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "success",
"RequestId": "60912C8D-B340-4253-ADE7-61ACDFD25CFC",
"Success": "true",
"SystemEvents": {
"SystemEvent": [
{
"Status": "normal",
"Time": 1552199984000,
"GroupId": "12345",
"Product": "CloudMonitor",
"InstanceName": "instanceId1",
"ResourceId": "xxxxx-1",
"Name": "Agent_Status_Stopped",
"Content": "[{\"product\":\"CloudMonitor\",\"content\":\"{\\\"ipGroup\\\":\\\"112.126.XX.XX,10.163.XX.XX\\\",\\\"tianjimonVersion\\\":\\\"1.2.22\\\"}\",\"groupId\":\"176,177,178,179,180,692,120812,1663836,96,2028302\",\"time\":\"1552209568000\",\"resourceId\":\"acs:ecs:cn-beijing:173651113438****:instance/i-25k35****\",\"level\":\"CRITICAL\",\"status\":\"stopped\",\"instanceName\":\"cmssiteprobebj-6\",\"name\":\"Agent_Status_Stopped\",\"regionId\":\"cn-beijing\"}]",
"Level": "WARN",
"RegionId": "cn-hangzhou",
"Id": "b936efc9-f621-4e8a-a6eb-076be40e****"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Parameter invalid. | The parameter is missing or invalid. |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.