Add a step and choose the Elasticsearch connector.
Pick the Get data streams (GET /_data_stream/{name}) action (under data stream).
Fill in the fields below, then reference the result from later steps as {{getDataStreamsGetDataStreamName.response.data}}.
Request
Path parameters
nameoneOfrequired
Comma-separated list of data stream names used to limit the request.
Wildcard (`*`) expressions are supported. If omitted, all data streams are returned.
Query parameters
expand_wildcardsoneOf
Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
include_defaultsboolean
If true, returns all relevant default configurations for the index template.
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.
verboseboolean
Whether the maximum timestamp for each data stream should be calculated and returned.
Response
Returns 200 with an object. Read it in later steps with {{getDataStreamsGetDataStreamName.response.data.<field>}}.
data_streamsarray<object>
_metaany
Custom metadata for the stream, copied from the `_meta` object of the stream’s matching index template.
If empty, the response omits this property.
allow_custom_routingboolean
If `true`, the data stream allows custom routing on write request.
failure_storeany
Information about failure store backing indices
generationnumberrequired
Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.
hiddenbooleanrequired
If `true`, the data stream is hidden.
ilm_policyany
Name of the current ILM lifecycle policy in the stream’s matching index template.
This lifecycle policy is set in the `index.lifecycle.name` setting.
If the template does not include a lifecycle policy, this property is not included in the response.
NOTE: A data stream’s backing indices may be assigned different lifecycle policies. To retrieve the lifecycle policy for individual backing indices, use the get index settings API.
next_generation_managed_byanyrequired
Name of the lifecycle system that'll manage the next generation of the data stream.
prefer_ilmbooleanrequired
Indicates if ILM should take precedence over DSL in case both are configured to managed this data stream.
indicesarray<object>required6 fields
Array of objects containing information about the data stream’s backing indices.
The last item in this array contains information about the stream’s current write index.
lifecycleany
Contains the configuration for the data stream lifecycle of this data stream.
nameanyrequired
Name of the data stream.
replicatedboolean
If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.
rollover_on_writebooleanrequired
If `true`, the next write to this data stream will trigger a rollover first and the document will be indexed in the new backing index. If the rollover fails the indexing request will fail too.
settingsanyrequired
The settings specific to this data stream that will take precedence over the settings in the matching index
template.
mappingsany
The mappings specific to this data stream that will take precedence over the mappings in the matching index
template.
statusanyrequired
Health status of the data stream.
This health status is based on the state of the primary and replica shards of the stream’s backing indices.
systemboolean
If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.
templateanyrequired
Name of the index template used to create the data stream’s backing indices.
The template’s index pattern must match the name of this data stream.
timestamp_fieldanyrequired
Information about the `@timestamp` field in the data stream.
index_modeany
The index mode for the data stream that will be used for newly created backing indices.