younifyd
Menu

Get data stream options

Get data stream options

GET/_data_stream/{name}/_options

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get data stream options action (under data stream).
  3. Fill in the fields below, then reference the result from later steps as {{getDataStreamOptions.response.data}}.

Request

Path parameters

nameoneOfrequired

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_wildcardsoneOf

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

master_timeoutoneOf

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.

Response

Returns 200 with an object. Read it in later steps with {{getDataStreamOptions.response.data.<field>}}.

data_streamsarray<object>
nameanyrequired
optionsany
json
{
  "data_streams": [
    {
      "name": null,
      "options": null
    }
  ]
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Get data stream options — Elasticsearch — Documentation