mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-10 21:24:52 +00:00
* add operation to titles to differentiate from the API group acronym Signed-off-by: alicejw <alicejw@amazon.com> * update frontmatter with new page title Signed-off-by: alicejw <alicejw@amazon.com> * for updates per issue https://github.com/opensearch-project/documentation-website/issues/1713 Signed-off-by: alicejw <alicejw@amazon.com> * to rename section title in left nav TOC to remove acronym definition and update each page frontmatter accordingly Signed-off-by: alicejw <alicejw@amazon.com> * to update page title per AWS Style Guide suggestion to only spell out the acronym the first time it's used in a sentence, not on the page title Signed-off-by: alicejw <alicejw@amazon.com> Signed-off-by: alicejw <alicejw@amazon.com>
1.5 KiB
1.5 KiB
layout | title | parent | nav_order | has_children |
---|---|---|---|---|
default | CAT tasks | CAT API | 70 | false |
CAT tasks
Introduced 1.0 {: .label .label-purple }
The CAT tasks operation lists the progress of all tasks currently running on your cluster.
Example
GET _cat/tasks?v
Path and HTTP methods
GET _cat/tasks
URL parameters
All CAT tasks URL parameters are optional.
In addition to the common URL parameters, you can specify the following parameter:
Parameter | Type | Description |
---|---|---|
nodes | List | A comma-separated list of node IDs or names to limit the returned information. Use _local to return information from the node you're connecting to, specify the node name to get information from specific nodes, or keep the parameter empty to get information from all nodes. |
detailed | Boolean | Returns detailed task information. (Default: false) |
parent_task_id | String | Returns tasks with a specified parent task ID (node_id:task_number). Keep empty or set to -1 to return all. |
time | Time | Specify the units for time. For example, 5d or 7h . For more information, see Supported units. |
Response
action | task_id | parent_task_id | type | start_time | timestamp | running_time | ip | node
cluster:monitor/tasks/lists | 1vo54NuxSxOrbPEYdkSF0w:168062 | - | transport | 1624337809471 | 04:56:49 | 489.5ms | 172.18.0.4 | odfe-node1