View shard distribution
ElasticsearchMaintenanceCommand
GET /_cat/shards?v&s=stateWhat it does
Lists all shards with index, type (primary/replica), state and the node they reside on.
When to use it
When reviewing shard placement and unassigned shards.
Caution
Read-only command; no risk.