Get task information
- GET /_cat/tasks
Get information about tasks currently running in the cluster. 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 task management API.
Required authorization
- Cluster privileges monitor
Query parameters
-
detailedboolean · default: false -
If
true, the response includes detailed information about shard recoveries. -
honeOf -
A comma-separated list of columns names to display. It supports simple wildcards.
Supported values include:
id: The ID of the task with the node.action(orac): The task action.task_id(orti): The unique task ID.parent_task_id(orpti): The parent task ID.type(orty): The task type.start_time(orstart): The start time in milliseconds.timestamp(orts,hms,hhmmss): The start time in HH:MM:SS.running_time_ns(ortime): The running time in nanoseconds.running_time(ortime): The running time.node_id(orni): The unique node ID.ip(ori): The IP address.port(orpo): The bound transport port.node(orn): The node name.version(orv): The Elasticsearch version.x_opaque_id(orx): The X-Opaque-ID header.
-
Values:
idactionactask_idtiparent_task_idptitypetystart_timestarttimestamptshmshhmmssrunning_time_nstimerunning_timenode_idniipiportponodenversionvx_opaque_idx -
soneOf -
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.
Response
application/json