Get data stream lifecycles
Retrieves the data stream lifecycle configuration of one or more data streams.
Path parameters
-
Comma-separated list of data streams to limit the request. Supports wildcards (
*
). To target all data streams, omit this parameter or use*
or_all
.
Query parameters
-
expand_wildcards string | array[string]
Type of data stream that wildcard patterns can match. Supports comma-separated values, such as
open,hidden
. Valid values are:all
,open
,closed
,hidden
,none
. -
include_defaults boolean
If
true
, return all default settings in the response. -
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.
GET /_data_stream/{name}/_lifecycle
curl \
-X GET http://api.example.com/_data_stream/{name}/_lifecycle