I'm relatively new to Elastic Search and Kibaba, so I'm unsure if this is user error or a bug. The short version is my chart data does not show up with time windows less than three hours
I'm using Elastic Cloud.
I've upgraded to 7.10.
I have a Lens chart whose data will show when I set the time window to the last three hours.
However, if I change the time window to show data in the last two hours, NO data shows up
My timefield is a field named timestamp whose type is date and is stored as milliseconds since the epoch
Here's my chart with a "Last Three Hours" window set
I'm still not sure if this is a bug or not, but I think I found the cause for the missing data.
I was able to solve this after a quick chat with some of the engineers on the team.
The problem was I was trying to graph some times series data where I was collecting once entry every five minutes. If I changed my data collection to once a minute, I was able to successfully get chart lines for times more recent than three hours ago. I was told that the problem was with a sparse dataset the buckets are too small which cause gaps in the charts (and those "gaps" in a line chart mean no data)
There's a few ways to fix this without collecting data more frequently.
The first is to set a minimum interval on the chart.
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.