I'm trying to extract the number of status 500 errors from an ElasticSearch
server over a 2 hour period. The problem is that the query returns too many
records. I should be receiving 272 errors over a 2 hour time period.
Instead I'm getting 1.5M.
I'm very new to ElasticSearch so am unsure if my query is correct.
I think you said that it returns 1.5M records because you saw that in total_hits field, right?
This is because you did write any query but only a facet. So the resultset is the full dataset for this index.
I'm trying to extract the number of status 500 errors from an Elasticsearch server over a 2 hour period. The problem is that the query returns too many records. I should be receiving 272 errors over a 2 hour time period. Instead I'm getting 1.5M.
I'm very new to Elasticsearch so am unsure if my query is correct.
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.