Get events statistics

View as Markdown
GET /_node/stats/events

Get statistics related to event processing.

Query parameters

  • pretty boolean

    If you append ?pretty=true to the request, the JSON returned will be pretty formatted. Use it for debugging only!

Responses

  • 200 application/json

    A JSON object containing events statistics.

    Hide response attribute Show response attribute object
    • events object
      Hide events attributes Show events attributes object
      • in integer(int64)
      • filtered integer(int64)
      • out integer(int64)
      • duration_in_millis integer(int64)
      • queue_push_duration_in_millis integer(int64)
GET /_node/stats/events
curl \
 --request GET 'http://api.example.com/_node/stats/events' \
 --user "username:password"
Response examples (200)
{
  "events": {
    "in": 56,
    "out": 56,
    "filtered": 56,
    "duration_in_millis": 1109,
    "queue_push_duration_in_millis": 2
  }
}