查看索引状态
[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