allocation_explain
Analyze why Elasticsearch shards are unassigned or remain on specific nodes to identify allocation issues and optimize cluster performance.
Instructions
Explain why a shard is unassigned or why it remains on its current node.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Index name | |
| shard | No | Shard number | |
| primary | No | Whether to explain primary (true) or replica (false) |