API to get nodes->indices->statuses

Hello,

I can't seem to find a single ES Stats API (HTTP) that returns:

  • a list of all nodes in the cluster
  • for each node, a list of indices (shards|replicas)
  • for each shard|replica, its state (open|closed)

And NodeStat class and NodeIndicesStats also don't seem to have everything
from the above either (no list of index names and open|closed state)...

What's the most elegant way to get to this info?

Thanks,
Otis

Hiring ElasticSearch Engineers World-Wide --

cluster state.

On Wednesday, March 7, 2012 at 8:03 PM, Otis Gospodnetic wrote:

Hello,

I can't seem to find a single ES Stats API (HTTP) that returns:

  • a list of all nodes in the cluster
  • for each node, a list of indices (shards|replicas)
  • for each shard|replica, its state (open|closed)

And NodeStat class and NodeIndicesStats also don't seem to have everything from the above either (no list of index names and open|closed state)...

What's the most elegant way to get to this info?

Thanks,
Otis

Hiring Elasticsearch Engineers World-Wide -- Jobs - Sematext