Update data stream options
Update data stream options
PUT/_data_stream/{name}/_options
Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Update data stream options action (under data stream).
- Fill in the fields below, then reference the result from later steps as
{{updateDataStreamOptions.response.data}}.
Request
Path parameters
nameoneOfrequired
Comma-separated list of data streams used to limit the request.
Supports wildcards (`*`).
To target all data streams 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.
timeoutoneOf
Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
Request body
Enter the body as JSON in the step's Body field.
failure_storeany
If defined, it will update the failure store configuration of every data stream resolved by the name expression.
{
"failure_store": null
}
Response
Returns 200 with an object. Read it in later steps with {{updateDataStreamOptions.response.data.<field>}}.
acknowledgedboolean
For a successful response, this value is always true. On failure, an exception is returned instead.
{
"acknowledged": false
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.