younifyd
Menu

Import a dangling index

Import a dangling index

POST/_dangling/{index_uuid}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Import a dangling index action (under indices).
  3. 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.

Import a dangling index — Elasticsearch — Documentation