I'm just getting my feet wet with ES and I'm using the Head Plugin to
examine my logstash messages coming in.
One thing we're interested in is finding the document count for each type.
I figured out how to get all Types:
curl -XGET 'http://localhost:9200/_mapping'
But now I want to cycle through all Types and get the total doc count
across all indexes.
I assume it's like:
curl -XGET 'http://localhost:9200/_all/[TYPE]/_search'
On Tue, Oct 1, 2013 at 2:59 AM, Alexander Gray II grayaii@gmail.com wrote:
I'm just getting my feet wet with ES and I'm using the Head Plugin to
examine my logstash messages coming in.
One thing we're interested in is finding the document count for each type.
I figured out how to get all Types:
curl -XGET 'http://localhost:9200/_mapping'
But now I want to cycle through all Types and get the total doc count
across all indexes.
I assume it's like:
curl -XGET 'http://localhost:9200/_all/[TYPE]/_search'
On Tue, Oct 1, 2013 at 2:59 AM, Alexander Gray II <gra...@gmail.com<javascript:>
wrote:
I'm just getting my feet wet with ES and I'm using the Head Plugin to
examine my logstash messages coming in.
One thing we're interested in is finding the document count for each type.
I figured out how to get all Types:
curl -XGET 'http://localhost:9200/_mapping'
But now I want to cycle through all Types and get the total doc count
across all indexes.
I assume it's like:
curl -XGET 'http://localhost:9200/_all/[TYPE]/_search'
Is there a better way to do this?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.