shard_allocation
Diagnose unassigned shards and resolve yellow or red cluster health by getting per-node disk usage and decider-level reasons such as disk watermark, awareness, filtering, or max_retries.
Instructions
Shard placement and why shards are unassigned. Returns _cat/shards, per-node disk usage, and for any UNASSIGNED shard the cluster allocation explanation (decider-level reasons: disk watermark, awareness, filtering, max_retries). This is the tool for a yellow/red cluster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | * | |
| only_problems | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |