how can show the shards of per nodes in elasticsearch 5.4.2 cluster with api search(curl)?
Try something like this: curl -XGET http://localhost:9200/_cat/shards | grep -v UNASSIGNED | awk '{print $8}' | sort | uniq -c
I am not sure that is available via the cat APIs, so that may require a script.
can give me a example.
thanks so much...
I do not have such an example.
thanks. so.
I am sorry, but I do not understand.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.