elasticsearch RESTfull _cat api

2021-04-18 09:26

阅读:537

标签:field   rest   空间   eal   post   plugins   read   pretty   doc   

查看所有index
curl http://localhost:9200/_cat/indices?v
 
查看所有doc数量
curl http://localhost:9200/_cat/count?v
 
查看所有node存储空间转台
curl http://localhost:9200/ _cat/allocation?v
 
查看所有node文件系统状态
curl http://localhost:9200/_nodes/stats/fs?pretty
 
查看所有node可用磁盘大小
curl http://localhost:9200/ _cat/nodes?h=h,diskAvail
 
 
 
 
HELP
=^.^=
/_cat/allocation
/_cat/shards
/_cat/shards/{index}
/_cat/master
/_cat/nodes
/_cat/indices
/_cat/indices/{index}
/_cat/segments
/_cat/segments/{index}
/_cat/count
/_cat/count/{index}
/_cat/recovery
/_cat/recovery/{index}
/_cat/health
/_cat/pending_tasks
/_cat/aliases
/_cat/aliases/{alias}
/_cat/thread_pool
/_cat/plugins
/_cat/fielddata
/_cat/fielddata/{fields}
/_cat/nodeattrs
/_cat/repositories
/_cat/snapshots/{repository}

elasticsearch RESTfull _cat api

标签:field   rest   空间   eal   post   plugins   read   pretty   doc   

原文地址:https://www.cnblogs.com/qikang/p/8707240.html


评论


亲,登录后才可以留言!