I have elastic search server and I want to get the details of shards for each index.
how to get number of shards in elasticsearch?
You can use the cat shards commands which is used to find out the number of shards for an index and how it is distributed on the cluster.
Here is the command which you can run in Kibana:
it will give you details like:
articles 0 p STARTED 2083 134.9mb 192.168.10.5 K5dfleF