younifyd
Menu

Promote a data stream

Promote a data stream

POST/_data_stream/_promote/{name}

Use it in a workflow

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

Request

Path parameters

namestringrequired

The name of the data stream to promote

Query parameters

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

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

Promote a data stream — Elasticsearch — Documentation