diff options
Diffstat (limited to 'docs/reference/cat/count.asciidoc')
-rw-r--r-- | docs/reference/cat/count.asciidoc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/reference/cat/count.asciidoc b/docs/reference/cat/count.asciidoc new file mode 100644 index 0000000..fb57638 --- /dev/null +++ b/docs/reference/cat/count.asciidoc @@ -0,0 +1,16 @@ +[[cat-count]] +== Count + +`count` provides quick access to the document count of the entire +cluster, or individual indices. + +[source,shell] +-------------------------------------------------- +% curl 192.168.56.10:9200/_cat/indices +green wiki1 3 0 10000 331 168.5mb 168.5mb +green wiki2 3 0 428 0 8mb 8mb +% curl 192.168.56.10:9200/_cat/count +1384314124582 19:42:04 10428 +% curl 192.168.56.10:9200/_cat/count/wiki2 +1384314139815 19:42:19 428 +-------------------------------------------------- |