Elasticsearch Indices Cluster Health API

I was trying to get the indices health using the web api as documented here:

So I was using a request like:
$ curl -XGET 'http://localhost:9200/_cluster/health/.kibana'

Anyway no health information about the .kibana index was returned. I was expecting a response similar to:

But instead I got the same response like I didn't even specify the .kibana index.

The issue #4755 is still open in github so I'm not sure this is already implemented. But the fact that is in the official documentation suggest it should be... I'm confused.

Can anyone please shed some light on this?

Cluster health is just that, what status the cluster is in.
If you want a specific index, use _cat/indices.

The cluster health API does support just checking the status of a specified collection of indices. What indication do you have that it did not respect only checking the health of the .kibana index? Perhaps the simplest way to verify that it did indeed report only for the specified collection of indices is to compare the number of shards in the output of /_cluster/health versus the number of shards in the output of /_cluster/health/.kibana.

It does?! Damn, I need to stop using _cat so much :stuck_out_tongue:

Hi jasontedor,
You are right. The output is filtered by the index(es) specified. I was expecting the api would have returned a different data structure, and didn't notice the difference in the data itself, that's why I was confused.
Thanks very much for pointing this out.