API to get nodes->indices->statuses


(Otis Gospodnetić) #1

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 --


(Shay Banon) #2

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 -- http://sematext.com/about/jobs.html#search


(system) #3