DescribeSystemEventAttribute

Updated at:

Queries the details of system events.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: critical.

  • WARN: warning.

  • INFO: information.

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:

  • If the event content you want to search for includes both a and b, you can search for a and b.

  • If the event content you want to search for includes either a or b, you can search for a or b.

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 is returned. If the call fails, an error message is returned.

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:

  • CRITICAL: critical.

  • WARN: warning.

  • INFO: information.

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.