I'm puzzled by how kibana's Vertical Bar visualization sets x-Axis bounds for a date histogram. Here's an image to illustrate my problem:
From the image, you can tell that:
- The time picker is set to the Last 4 Days
- I've restricted the sample by using a filter and also a query, both restricting data to the past day (24 hours). I know that only one would suffice but I'm trying to point out how I believe the timepicker is ignoring these filters when setting x-axis bounds.
Note on the image that the filter/query are indeed working, in that I only have data from the past 24 hours appearing in the histogram. But, note all of the empty space to the left of the histogram, which corresponds to reaching back 4 days.
Before you respond "Why don't you just set the time picker to the past 24 hours?" I must add that this is not an option as this visualization is a panel in a dashboard looking at a longer record than the past 24 hours. Yes, I can set the timepicker to "Past 24 Hours" and the plot then loses the three days' worth of empty space, but everything else on the dashboard is wrong because the longer sample the other panels require has been truncated to the past 24 hours.
How can I fix this?
For reference sake, I'm using ELK 6.4.2 and it's a paid license version.