首页 > Windows开发 > 详细

elasticsearch RESTfull _cat api

时间:2018-04-03 11:12:50      阅读:333      评论:0      收藏:0      [点我收藏+]
查看所有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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!