younifyd
Menu

Get data stream settings

Get data stream settings

GET/_data_stream/{name}/_settings

Use it in a workflow

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

Request

Path parameters

nameoneOfrequired

A comma-separated list of data streams or data stream patterns. Supports wildcards (`*`).

Query parameters

master_timeoutoneOf

The 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 {{getDataStreamSettings.response.data.<field>}}.

data_streamsarray<object>
namestringrequired

The name of the data stream.

settingsanyrequired

The settings specific to this data stream

effective_settingsanyrequired

The settings specific to this data stream merged with the settings from its template. These `effective_settings` are the settings that will be used when a new index is created for this data stream.

json
{
  "data_streams": [
    {
      "name": "string",
      "settings": null,
      "effective_settings": null
    }
  ]
}

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

Get data stream settings — Elasticsearch — Documentation