Get shard allocation information

  • GET /_cat/allocation/{node_id}
  • GET /_cat/allocation

Get a snapshot of the number of shards allocated to each data node and their disk space.

IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.

  • Cluster privileges: monitor

Path Parameters

node_id union NodeId | [] NodeId optional

A comma-separated list of node identifiers or names used to limit the returned information.

Leave it out to use /_cat/allocation.

Response