命令样例如下:
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
相关资料
- ElasticSearch pending tasks API catelasticsearch pending tasks api elasticsearch segments api cat elasticsearch plugins api cat elasticsearch repositories api cat elasticsearch datafeeds api cat elasticsearch allocation api cat elasticsearch transforms api cat elasticsearch templates api cat elasticsearch health api cat elasticsearch indices api cat