allocation.asciidoc 849 B

1234567891011121314151617
  1. [[cat-allocation]]
  2. == cat allocation
  3. `allocation` provides a snapshot of how many shards are allocated to each data node
  4. and how much disk space they are using.
  5. [source,sh]
  6. --------------------------------------------------
  7. % curl '192.168.56.10:9200/_cat/allocation?v'
  8. shards disk.indices disk.used disk.avail disk.total disk.percent host ip node
  9. 1 3.1gb 5.6gb 72.2gb 77.8gb 7.8 192.168.56.10 192.168.56.10 bGG90GE
  10. 1 3.1gb 5.6gb 72.2gb 77.8gb 7.8 192.168.56.30 192.168.56.30 I8hydUG
  11. 1 3.0gb 5.5gb 72.3gb 77.8gb 7.6 192.168.56.20 192.168.56.20 H5dfFeA
  12. --------------------------------------------------
  13. Here we can see that each node has been allocated a single shard and
  14. that they're all using about the same amount of space.