I'm using the api
_cat/shards to monitor my shards' info. Since I may have a large cluster and many shards, I would like to collect the info from each node instead of collecting them by one call.
As described in the doc,
(Optional, boolean) If
true , the request retrieves information from the local node only. Defaults to
false , which means information is retrieved from the master node.
But when I invoke this api on a data node, whether the param is true or false, it returns shards from all nodes.
Any idea why this param does not apply?