Event Management
This call displays the paged list of all the events from Mojo server or Arista Cloud Services. Only administrator can make changes or even edit it. You can also mark the events for deletion. They are retained in the database if marked.
JSON Table
Parameter | Data Type | Description |
---|---|---|
id | long | System-generated unique ID of the event. |
majorType | String | The major event associated with the event. The applicable values are:
|
minorType | int | The minor event associated with the event. A subtype of one of the major event types. |
textParams | List of strings | The description and summary parameters associated with the event. |
deleted | boolean | A true or false value indicating whether the event is deleted. |
startTime | long | The time when the event started. The time is displayed in the dd/mm/yyyy hh:mm:ss format on the console. |
stopTime | long | The time when the event stopped. The time is displayed in the dd/mm/yyyy hh:mm:ss format on the console. |
locationId | application/json | ID of the location in the hierarchal location tree. The value is of the type Location ID JSON. |
vulnerable | boolean | A true or false value indicates whether the event has a vulnerability status. |
readStatus | String | Acknowledgement or the read status of the event. The applicable values are:
|
eventSeverity | String | Severity level of the event. The applicable values are:
|
intermediateType | String | Intermediate type associated with the event. A subset of one of the following event types:
|
Copy Sample JSON
Sample JSON
[{ "id": 8, "majorType": "SYSTEM", "minorType": 275, "textParams": ["1","192.168.8.15"], "deleted": false, "startTime": 1392458698959, "stopTime": 1392458698959, "locationId": { "type": "locallocationid", "id": 0 }, "vulnerable": false, "readStatus": "UNREAD", "eventSeverity": "LOW", "intermediateType": "SERVER" }, { "id": 9, "majorType": "SYSTEM", "minorType": 276, "textParams": ["1","192.168.8.15"], "deleted": false, "startTime": 1392466981588, "stopTime": 1392466981588, "locationId": { "type": "locallocationid", "id": 0 }, "vulnerable": true, "readStatus": "UNREAD", "eventSeverity": "HIGH", "intermidateType": "SERVER" }]
API Calls
/V5/events
/V5/events/{id}
/V5/events/groupby
/V5/events/{id}
/V5/events