I'm having a little problem with one of the panels I have created.
On this panel I am showing a line with an daily availability percentage (green line). Additionally I have created an moving average (blue line) with a 30 day window size. Is it possible to time shift the moving average into the negative, e.g. -1d, in any way, because I want the moving average to have the drop on the same day the green line drops down.
Here with my current test data I have an availability drop on May 10th, but the moving average only reflects it the day later, May 11th.
Unfortunately it's not possible to shift a series negatively. It seems like the underlying issue is that the moving average in Kibana is trailing, which means the current value is not taken into account. However you should be able to fix this with a formula like this:
I've just applied it to my panel and it seems to be working But it smoothened out the line and it seems to not be dropping as hard as it was previously.
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.