Happy Thanksgiving! & QQ)

Hello World :wink:

Happy Thanksgiving to everyone!

Is there a way to see size per shard per node w/ sorting?)

Thanks in advance!


I think the cat shards API would help.

that goes against index as target..

my goal is to find out which is largest shard which resides on a specific data node..

_cat/shards seems to do the job.
just add sort criteria, try it in Dev Tools:
GET _cat/shards/?s=n:asc,store:desc

can i also add a limit to specific node name?

AFAIK, you can't. You have to filter the response client-side, either with a grep, awk or your choice of tool.
If you prefer json filtering (with jq for instance) you can add &format=json to the request.