I am retrieving results of a query for last 7 days in visualisation, but in the response i am not seeing results for empty buckets i.e its not showing any result for that day when there is no data. There is no option to choose as Show empty buckets.
In below graph, it shows all the dates of last 7 days (even if its having any result or not) but in response i am only getting dates that are having any result and not all the dates which are having zero results also. How can i change this to get all the dates (irrespective of zero or any result) in response.
Yes i have tried this in devtools by changing request as "min_doc_count": 1 to "min_doc_count": 0 and getting all seven days results. Thanks.
but same is not working when checking for 24 hrs of a day i.e its not showing all the hrs irrespective of results. only shows hr that has any result. Any idea why?
I am getting below response as expected for 7 days (i.e In response, getting each date with their whatever results is whether 0 or any number) after changing above min_doc_count: 0, this was for 7 days.
Now, I am trying to get results of all 24 hrs of a day by changing timerange from Last 7 days to Last 24 hours and minimum interval as Auto but it's still not showing for all 24 hrs.
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.