Our elasticsearch instance sometime return meaningless number for
terms_stats, query return correct data.
I am using Kibana as front end, this is generated query:
{"facets":{"terms":{"terms_stats":{"value_field":"metric","key_field":"host","size":10,"order":"count"},"facet_filter":{"fquery":{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":"(service:".StorageProxy.RecentReadLatencyMicros")
AND (layer:"cassandra") AND (@timestamp:[now-1m TO now]) AND
host:169.26.4.167"}}]}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"from":1408992976055,"to":"now"}}},{"terms":{"host":["169.26.4.167"]}},{"terms":{"host":["169.26.4.167"]}}]}}}}}}}},"size":0}
the metric field would have some number between 0 and 100 while the term
stat report huge number. If i delete index, it will show correct term
stats again.
I tried refresh, close/open index, none seem to work except delete the
index and recreate it. Have anyone face similar issue?
take mean of boolean value return 4,607,182,418,800,017,408
Thanks
On Tuesday, August 26, 2014 3:58:43 PM UTC-4, youwei chen wrote:
Our elasticsearch instance sometime return meaningless number for
terms_stats, query return correct data.
I am using Kibana as front end, this is generated query:
{"facets":{"terms":{"terms_stats":{"value_field":"metric","key_field":"host","size":10,"order":"count"},"facet_filter":{"fquery":{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":"(service:".StorageProxy.RecentReadLatencyMicros")
AND (layer:"cassandra") AND (@timestamp:[now-1m TO now]) AND
host:169.26.4.167"}}]}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"from":1408992976055,"to":"now"}}},{"terms":{"host":["169.26.4.167"]}},{"terms":{"host":["169.26.4.167"]}}]}}}}}}}},"size":0}
the metric field would have some number between 0 and 100 while the term
stat report huge number. If i delete index, it will show correct term
stats again.
I tried refresh, close/open index, none seem to work except delete the
index and recreate it. Have anyone face similar issue?
Has anyone else seen this and resolved it as I am facing the same issue. The only way I have managed to fix this is to delete all the indexes which is not ideal. This is us from using this in live as this is less than ideal.
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.