Get data stream options
Generally available; Added in 8.19.0
Get the data stream options configuration of one or more data streams.
Path parameters
-
name
string | array[string] Required 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
.Values are
all
,open
,closed
,hidden
, ornone
. -
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
or0
.
GET
/_data_stream/{name}/_options
curl \
--request GET 'http://api.example.com/_data_stream/{name}/_options' \
--header "Authorization: $API_KEY"