Elasticsearch stats by groups return inconsistent values

Environment:

  • 14 nodes
  • 3 indices
  • 15 mil documents
  • ~70 queries/s

I'm querying Elasticsearch search stats on all indexes by stats groups using

curl http://127.0.0.1:9200/_all/_stats/search?groups=_all

I take the query_total values out of the results for each index and group,
however I see that I get different results on every query I do.
See examples at: https://gist.github.com/iserko/9963195

I'm guessing the reason for this could be that it's only getting metrics
from a few nodes instead of all of them.
But if that's the case, can I wait in some way and make sure I have data
from all the nodes?

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/72653d3c-b081-43d4-998b-955c83819ff6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.