stack es cluster allocation-explain cli command
Auth required
Idempotent
Scope: global
elastic stack es cluster allocation-explain [options]
Explain the shard allocations.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--[no-]include-disk-info- If true, returns information about disk usage and shard sizes.
--[no-]include-yes-decisions- If true, returns YES decisions in explanation.
--master-timeoutstring- Period to wait for a connection to the master node.
--indexstring- The name of the index that you would like an explanation for.
- An identifier for the shard that you would like an explanation for.
--[no-]primary- If true, returns an explanation for the primary shard for the specified shard ID.
--current-nodestring- Explain a shard only if it is currently located on the specified node name or node ID.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON