Available in Classic and VPC
This is the requested information required to search for an event.
Syntax
The syntax is as follows:
private long ruleId;
private String eventId;
private String query;
private long startTime;
private long endTime;
private int pageSize;
private int pageNum;
private boolean onlyFetchUnCloseEvent;
Field
The following describes the fields:
Field | Type | Required | Description |
---|---|---|---|
ruleId |
long | Optional | ID of event rule to query |
eventId |
String | Optional | ID of event to query |
query |
String | Optional | Searchable by rule name, metric name, or resource name |
startTime |
long | Required | Query start time (milliseconds) |
endTime |
long | Required | Query end time (milliseconds) |
pageSize |
Integer | Optional | Page size
|
pageNum |
Integer | Optional | Page number
|
onlyFetchUnCloseEvent |
Boolean | Optional |
|