Example uses basic HTTP syntax. Any <#>
in the example should be removed when copying it.
You can use the _cat
APIs to get a human readable, tabular output for various reasons.
GET /_cat/health?v <1>
?v
is optional, but it implies that you want "verbose" output._cat/health
has existed since Elasticsearch 1.x, but here is an example of its output from Elasticsearch 5.x:
With verbose output:
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
1469302011 15:26:51 elasticsearch yellow 1 1 45 45 0 0 44 0 - 50.6%