命令样例如下:
curl -X GET "https://localhost:9200/_cat/pending_tasks?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
insertOrder timeInQueue priority source
1685 855ms HIGH update-mapping [foo][t]
1686 843ms HIGH update-mapping [foo][t]
1693 753ms HIGH refresh-mapping [foo][[t]]
查看帮助,命令如下:
curl -X GET "https://localhost:9200/_cat/pending_tasks?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
insertOrder | o | task insertion order
timeInQueue | t | how long task has been in queue
priority | p | task priority
source | s | task source
相关资料
- cat pending tasks API
- Pending cluster tasks API
- API conventions
- HTTP accept header