Get the pending cluster tasks | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Query parameters
- If
true
, the request retrieves information from the local node only. Iffalse
, information is retrieved from the master node. - 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.
Responses
- 200 application/json
Hide response attribute Show response attribute object- tasks
array[object] Required
Hide tasks attributes Show tasks attributes object
* Indicates whether the pending tasks are currently executing or not.
* The number that represents when the task has been inserted into the task queue.
* The priority of the pending task. The valid priorities in descending priority order are:IMMEDIATE
>URGENT
>HIGH
>NORMAL
>LOW
>LANGUID
.
* A general description of the cluster task that may include a reason and origin.
* A duration. Units can benanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
* Time unit for milliseconds
- tasks