Hello,
I am trying to visulaize some more comlex metrics with timelion. I have a value per day (average number of events per user) and I want to know if that number is higher than the moving average of the last 7 days (plus or minus 30% of the moving average: light grey line). The following image shows what I have.
However as you can see, it does not calculate the moving average for the last days... If I would change the window to 2 days, it would also calculate the moving average for the last days, and everything would be perfect.
That's my query:
.es(q='SOME_FILTERS').divide(.es(q='SOME_FILTERS'))
.mvavg(7d)
.label("Rolling Average (7)")
.color('grey'),
Is it a bug? Or am I doing something wrong?
Thanks for your help!
Georg