I need support in creating a histogram that can show the count of objects on a daily basis if the date (in the histogram) falls within a date range. It should show count of the objects even if there is no object available for any particular date of the date field.For example, date field contains objects for 2nd August, 4th August and 8th August. But histogram should show the object count of the missing dates like 3rd, 5th, 6th and 7th.
When creating a histogram in Lens you now have the option to show Empty buckets as well. Just do a split per day for the histogram and a count metric for the objects.
Hi @Marius_Dragomir, the challenge is there how to get the count for empty buckets? I need to get the count if the key_as_string value of the dates on histogram falls between StartDate and EndDate. I am trying to get an output like:
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.