Elasticsearch 9 · Cluster and health
List shards
Show where every shard is allocated.
curl -u elastic:$ELASTIC_PASSWORD --cacert http_ca.crt "https://localhost:9200/_cat/shards?v"
Official Elasticsearch 9 documentation
More cluster and health commands
All cluster and health commands · Elasticsearch 9 cheatsheet