ElasticSearch的状态查看-06

查看索引状态
 [root@elk-node01 config]# curl http://192.168.1.252:9200/_cat/indices?v
           health status index                           uuid                   pri rep docs.count docs.deleted store.size pri.store.size
           green  open   .monitoring-kibana-6-2019.04.10 hGjnuE5KT0irq-N1IUqtdA   1   0       7268            0      1.9mb          1.9mb
           yellow open   metricbeat-6.6.0-2019.04.10        KFViLcsWQdC8JOjZ2ozecQ   1   1       1823            0      1.1mb          1.1mb
           yellow open   tomcat-access-2019.04.10           xPLwQ-TaSqmRrUKxGTVL7g   5   1        610            0    299.6kb        299.6kb
 [root@elk-node01 config]# curl http://192.168.1.252:9200/_all?pretty            
查看节点状态
 [root@elk-node01 config]# curl http://192.168.1.252:9200/_cat/nodes?vcurl http://192.168.1.252:9200/_cat/nodes?v
健康状态查看
[root@elk-node01 config]# curl http://192.168.1.252:9200/_cluster/health?pretty&level=indices
分片查看
[root@elk-node01 config]#  curl http://192.168.1.252:9200/_cat/shards?help
[root@elk-node01 config]# curl http://192.168.1.252:9200/_cat/shards?v&h=index,shard,state,docs,store,ip,unassigned.reason,unassigned.details
健康状态检查
 [root@elk-node01 config]#  curl http://192.168.1.252:9200/_cluster/health
 [root@elk-node01 config]#  curl http://192.168.1.252:9200/_cluster/health?level=indices
 [root@elk-node01 config]#  curl http://192.168.1.252:9200/_cluster/health?level=shard
磁盘空间
[root@elk-node01 config]# curl http://192.168.1.252:9200/_cat/allocation?v
    _cat/allocation?help 是帮助信息

转载于:https://blog.51cto.com/9025736/2377038

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值