Get pending task information
- GET /_cat/pending_tasks
Get information about cluster-level changes that have not yet taken effect. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
- Cluster privileges:
monitor
Query Parameters
-
hNames List of columns to appear in the response. Supports simple wildcards.
-
sNames List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting
:ascor:descas a suffix to the column name.-
localboolean · default: false If
true, the request computes the list of selected nodes from the local cluster state. Iffalsethe list of selected nodes are computed from the cluster state of the master node. In both cases the coordinating node will send requests for further information to each selected node.-
master_timeoutstring Duration · default: 30s Period to wait for a connection to the master node.
Response
Response Type: PendingTasksRecord
-
insertOrderstring -
The task insertion order.
-
timeInQueuestring -
Indicates how long the task has been in queue.
-
prioritystring -
The task priority.
-
sourcestring -
The task source.