Menu
Explain the shard allocations (POST)
Explain the shard allocations
POST
/_cluster/allocation/explainUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Explain the shard allocations (POST) action (under cluster).
- Fill in the fields below, then reference the result from later steps as
{{explainTheShardAllocationsPost.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{explainTheShardAllocationsPost.response.data.<field>}}.
{
"current_state": "string",
"index": null,
"primary": false,
"shard": 0,
"allocate_explanation": "string",
"allocation_delay": null,
"allocation_delay_in_millis": null,
"can_allocate": null,
"can_move_to_other_node": null,
"can_rebalance_cluster": null,
"can_rebalance_cluster_decisions": [
{
"decider": "string",
"decision": null,
"explanation": "string"
}
],
"can_rebalance_to_other_node": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?