You can call this operation to obtain the bar chart of the numbers of system events reported in different time periods.

Debugging

You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can call APIs, dynamically generate SDK example code, and retrieve APIs.

Request parameters

Parameter Type Required Example Description 
Action String Yes DescribeSystemEventHistogram

The operation that you want to perform. Set the value to DescribeSystemEventHistogram.

EndTime String No 1552220485596

The end time.

EventType String No Exception

The type of the event. The available event types vary with service.

GroupId String No 12345

The ID of the application group.

Level String No CRITICAL

The level of the event. Valid values: CRITICAL, WARN, and INFO.

Name String No BucketIngressBandwidth

The name of the event.

PageNumber Integer No 1

The number of the page.

PageSize Integer No 10

The number of records on each page.

Product String No oss

The abbreviation of the service name.

SearchKeywords String No cms

The expression of keywords in the event content. Logical operators AND and OR are supported.

a and b: searches for results that contain both a and b in the event content.

a or b: searches for results that contain either a or b in the event content.

StartTime String No 1552209685596

The start time.

Status String No normal

The status of the event. Multiple states must be separated with commas (,).

Response parameters

Parameter Type Example Description 
Code String 200

The status code. A value of 200 indicates that the call is successful.

Message String success

The error message.

RequestId String 486029C9-53E1-44B4-85A8-16A571A043FD

The request ID for troubleshooting.

Success String true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

SystemEventHistograms

The statistics of events by period.

  └Count Long 2

The number of events.

  └EndTime Long 1552225753000

The end time.

  └StartTime Long 1552225770000

The start time.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeSystemEventHistogram
&<Common request parameters>

Successful response examples

XML format

<DescribeSystemEventHistogramResponse>
  <SystemEventHistograms>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226750000</EndTime>
      <StartTime>1552226740000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226760000</EndTime>
      <StartTime>1552226750000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226770000</EndTime>
      <StartTime>1552226760000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226780000</EndTime>
      <StartTime>1552226770000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226790000</EndTime>
      <StartTime>1552226780000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226800000</EndTime>
      <StartTime>1552226790000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226810000</EndTime>
      <StartTime>1552226800000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226820000</EndTime>
      <StartTime>1552226810000</StartTime>
    </SystemEventHistogram>
    <SystemEventHistogram>
      <Count>0</Count>
      <EndTime>1552226827000</EndTime>
      <StartTime>1552226820000</StartTime>
    </SystemEventHistogram>
  </SystemEventHistograms>
  <Message>userId:127067667954****</Message>
  <RequestId>729FDC1A-F4ED-427E-A57D-93925F35FC49</RequestId>
  <Success>true</Success>
  <Code>200</Code>
</DescribeSystemEventHistogramResponse>

JSON format

{
	"SystemEventHistograms":{
		"SystemEventHistogram":[
			{
				"Count":0,
				"EndTime":1552226750000,
				"StartTime":1552226740000
			},
			{
				"Count":0,
				"EndTime":1552226760000,
				"StartTime":1552226750000
			},
			{
				"Count":0,
				"EndTime":1552226770000,
				"StartTime":1552226760000
			},
			{
				"Count":0,
				"EndTime":1552226780000,
				"StartTime":1552226770000
			},
			{
				"Count":0,
				"EndTime":1552226790000,
				"StartTime":1552226780000
			},
			{
				"Count":0,
				"EndTime":1552226800000,
				"StartTime":1552226790000
			},
			{
				"Count":0,
				"EndTime":1552226810000,
				"StartTime":1552226800000
			},
			{
				"Count":0,
				"EndTime":1552226820000,
				"StartTime":1552226810000
			},
			{
				"Count":0,
				"EndTime":1552226827000,
				"StartTime":1552226820000
			}
		]
	},
	"Message":"userId:127067667954****",
	"RequestId":"729FDC1A-F4ED-427E-A57D-93925F35FC49",
	"Success":true,
	"Code":"200"
}

Error codes

View error codes