younifyd
Menu

Throttle an update by query operation

Throttle an update by query operation

POST/_update_by_query/{task_id}/_rethrottle

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Throttle an update by query operation action (under document).
  3. Fill in the fields below, then reference the result from later steps as {{throttleAnUpdateByQueryOperation.response.data}}.

Request

Path parameters

task_idstringrequired

The ID for the task.

Query parameters

requests_per_secondnumberrequired

The maximum number of documents to update per second, across the entire update_by_query operation (including slices). It can be either `-1` to turn off throttling or any decimal number like `1.7` or `12` to throttle to that level.

Response

Returns 200 with an object. Read it in later steps with {{throttleAnUpdateByQueryOperation.response.data.<field>}}.

nodesobject
json
{
  "nodes": {}
}

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