A newer release of this product is available.
Support EMS events endpoint overview
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Overview
Queries a live collection of observed events on the system.
Note: The filter.name
parameter is used to pass a filter to be applied to the event collection returned. To retrieve the list of available filters, refer to /support/ems/filters
Example
Querying for the latest event received by EMS
# API
GET /api/support/ems/events?fields=message.name&max_records=1
# Response
200 OK
# JSON Body
{
"records": [
{
"node": {
"name": "node1",
"uuid": "f087b8e3-99ac-11e8-b5a5-005056bb4ec7",
"_links": {
"self": {
"href": "/api/cluster/nodes/f087b8e3-99ac-11e8-b5a5-005056bb4ec7"
}
}
},
"index": 661,
"message": {
"name": "raid.aggr.log.CP.count"
},
"_links": {
"self": {
"href": "/api/support/ems/events/node1/661"
}
}
}
],
"num_records": 1,
"_links": {
"self": {
"href": "/api/support/ems/events?fields=message.name&max_records=1"
},
}
}