Check Elasticsearch cluster status
To check the health of your Elasticsearch cluster, log in to any of your cluster nodes through SSH, and execute the curl command with the cat/health?v parameter, like this:
$ curl -XGET 'localhost:9200/_cat/health?v&pretty'
The result should be something like this:
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent 1505492553 16:22:33 elasticsearch-cluster green 3 3 4 2 0 0 0 0 - 100.0
To get a list of nodes in the cluster, execute the curl command as follows:
$ curl -XGET 'localhost:9200/_cat/nodes?v&pretty'