Get data stream stats

  • GET /_data_stream/{name}/_stats
  • GET /_data_stream/_stats

Get statistics for one or more data streams.

  • Index privileges: monitor

Path Parameters

name union IndexName | [] IndexName optional

Comma-separated list of data streams used to limit the request. Wildcard expressions (*) are supported. To target all data streams in a cluster, omit this parameter or use *.

Leave it out to use /_data_stream/_stats.

Query Parameters

expand_wildcards string ExpandWildcards · default: open,closed

Type of data stream that wildcard patterns can match. Supports comma-separated values, such as open,hidden.

Supported values include:

  • all: Match any data stream or index, including hidden ones.
  • open: Match open, non-hidden indices. Also matches any non-hidden data stream.
  • closed: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.
  • hidden: Match hidden data streams and hidden indices. Must be combined with open, closed, or both.
  • none: Wildcard expressions are not accepted.
Values: all open closed hidden none

Response