status.asciidoc 804 B

123456789101112131415161718192021222324252627
  1. [[indices-status]]
  2. == Status
  3. The indices status API allows to get a comprehensive status information
  4. of one or more indices.
  5. [source,js]
  6. --------------------------------------------------
  7. curl -XGET 'http://localhost:9200/twitter/_status'
  8. --------------------------------------------------
  9. In order to see the recovery status of shards, pass `recovery` flag and
  10. set it to `true`. For snapshot status, pass the `snapshot` flag and set
  11. it to `true`.
  12. [float]
  13. === Multi Index
  14. The status API can be applied to more than one index with a single call,
  15. or even on `_all` the indices.
  16. [source,js]
  17. --------------------------------------------------
  18. curl -XGET 'http://localhost:9200/kimchy,elasticsearch/_status'
  19. curl -XGET 'http://localhost:9200/_status'
  20. --------------------------------------------------