"_shard_stores" returns empty


when I try to GET /_shard_stores i always get an empty response. I tried it with the elastic user or every other user.

My cluster is Green and i have some 1000 shards allocated. I wanted to know where a shard lives.

According to the docs, the ?status parameter defaults to yellow,red. If your cluster health is green then there are no yellow or red shards to display, so an empty response is correct.

Oh sry I overlooked this detail...

But how can I see which of the nodes holds the shards of one index?


For human consumption, cat shards is simplest; for machines, use indices stats:

GET _cat/shards/<INDEX>

GET /<INDEX>/_stats/store?level=shards&filter_path=indices.*.shards.*.routing
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.