Get the status of streams Technical preview; Added in 9.1.0

GET /_streams/status

Get the current status for all types of streams.

Required authorization

  • Cluster privileges: monitor

Query parameters

  • master_timeout string

    Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

    Values are -1 or 0.

    External documentation

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • logs object Required
      Hide logs attribute Show logs attribute object
      • enabled boolean Required

        If true, the stream feature is enabled.

    • logs.otel object Required
      Hide logs.otel attribute Show logs.otel attribute object
      • enabled boolean Required

        If true, the stream feature is enabled.

    • logs.ecs object Required
      Hide logs.ecs attribute Show logs.ecs attribute object
      • enabled boolean Required

        If true, the stream feature is enabled.

GET /_streams/status
curl \
 --request GET 'http://api.example.com/_streams/status'
Response examples (200)
{
  "logs": {
    "enabled": false
  }
  "logs.ecs": {
    "enabled": true
  }
  "logs.otel": {
    "enabled": true
  }
}