Skip to main content
A newer release of this product is available.

Support EMS events endpoint overview

Contributors

Overview

Queries a live collection of observed events on the system.

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"
  },
}
}