elasticsearch - Json based cluster health - elastic - elastic search - elasticsearch tutorial - elasticsearch docker
Json based cluster health
Example uses basic HTTP syntax. Any <#> in the example should be removed when copying it. The _cat APIs are often convenient for humans to get at-a-glance details about the cluster. But you frequently want consistently parseable output to use with software. In general, the JSON APIs are meant for this purpose.
_cluster/health has existed since Elasticsearch 1.x, but here is an example of its output from Elasticsearch 5.x: