码迷,mamicode.com
首页 > Windows程序 > 详细

elasticsearch RESTfull _cat api

时间:2018-04-03 11:26:40      阅读:241      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!