Add a step and choose the Elasticsearch connector.
Pick the Import a dangling index action (under indices).
Fill in the fields below, then reference the result from later steps as {{importADanglingIndex.response.data}}.
Request
Path parameters
index_uuidstringrequired
The UUID of the index to import. Use the get dangling indices API to locate the UUID.
Query parameters
accept_data_lossboolean
This parameter must be set to true to import a dangling index.
Because Elasticsearch cannot know where the dangling index data came from or determine which shard copies are fresh and which are stale, it cannot guarantee that the imported data represents the latest state of the index when it was last in the cluster.
master_timeoutoneOf
The period to wait for a connection to the master node.
timeoutoneOf
The period to wait for a response.
Response
Returns 200 with an object. Read it in later steps with {{importADanglingIndex.response.data.<field>}}.
acknowledgedboolean
For a successful response, this value is always true. On failure, an exception is returned instead.
json
{"acknowledged":false}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?
Import a dangling index — Elasticsearch — Documentation