elasticsearch cat

检查集群健康:

$curl -XGET http://😡😕_cat/health?v
查看节点:

$curl -XGET http://😡😕_cat/nodes?v
host ip heap.percent ram.percent load node.role master name
myhost 127.0.0.1 36 40 0.00 d * TEST-1
查看索引:

$curl -XGET http://😡😕_cat/indices?v
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open profile 5 1 2 0 11.7kb 11.7kb
yellow open logstash 5 1 3246 0 4.8mb 4.8mb