Is there a way to show shard data path on a node?

I am in the process of validating using nodes with multiple disks. I need an easy way to have a high level idea where the shards are located.

I typically use "GET /_cat/allocation?v" to show the overall disk usage.
Then use "GET _cat/indices?v" & "GET _cat/shards?v" to drill down if need to.

Is there another simple call to show which datapath a shard is located within a node?


Not that I am aware of.
It's probably in the cluster state, you might be able to extract that with jq or similar, but that's just a guess I haven 't validated.

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