capabilities.work

Explain a shard allocation with a request body

One step with Elastic Stack. We can help you get access.

Look something up

Explain a shard allocation with a request body

Use Elastic Stack: its Elk Stack Cluster API lets you explain a shard allocation with a request body in a single step (POST /_cluster/allocation/explain). capabilities.work can help you get signed up and connected.

  • How do I send the index and shard number in a JSON body to get an allocation explanation?
  • Can I find out why a replica shard is sitting on node X instead of moving elsewhere?
Say it to your AI assistant
  • POST an allocation explain for index {index}, shard {shard}, primary {primary}, with the values in the body.
  • Explain why the shard currently on node {current_node} is staying there, sending it in the request body.
For your developer

POST /_cluster/allocation/explain in Elk Stack Cluster API. Full spec on APIs.io.