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.

    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
GET _streams/status
resp = client.streams.status()
const response = await client.streams.status();
response = client.streams.status
$resp = $client->streams()->status();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_streams/status"
client.streams().status(s -> s);
Response examples (200)
{
  "logs": {
    "enabled": false
  }
  "logs.ecs": {
    "enabled": true
  }
  "logs.otel": {
    "enabled": true
  }
}