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?
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 email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.