count.asciidoc 500 B

12345678910111213141516
  1. [[cat-count]]
  2. == cat count
  3. `count` provides quick access to the document count of the entire
  4. cluster, or individual indices.
  5. [source,sh]
  6. --------------------------------------------------
  7. % curl 192.168.56.10:9200/_cat/indices
  8. green wiki1 3 0 10000 331 168.5mb 168.5mb
  9. green wiki2 3 0 428 0 8mb 8mb
  10. % curl 192.168.56.10:9200/_cat/count
  11. 1384314124582 19:42:04 10428
  12. % curl 192.168.56.10:9200/_cat/count/wiki2
  13. 1384314139815 19:42:19 428
  14. --------------------------------------------------