Rolling Averages for Dashboard Graphs


Brandon
 Share

Recommended Posts

I would really like to see a feature implemented that allows for easy and adjustable graph smoothing.  This can be accomplished by adding a switch to the UI in the graph configuration screen.  If the switch is turned to "enabled", a drop-down appears prompting for an integer between 1% and 5%.  This number would represent the percentage of total datapoints that would be used to calculate the "smoothed" values.  A second drop-down prompts for the position of the calculation: past, future, or both (default).  For example:

A graph containing 500 values - Rolling average is enabled and set to 3% (both).  Each value on the graph would be recalculated to reflect the average of itself, plus the 15 (3% of 500) preceeding and proceeding datapoints.

Here's what the original data might look like: (All examples below were created with TimeLion in Kibana using a similar algorithm)

image.png.1d4feea7cd0c4cfafff481e89c2f554f.png

With 3% smoothing:

image.png.109bf2b31781944e1fe6b41f113c8374.png

And with 5% smoothing:

image.png.4a1a4f9be30dd516325de13fec837423.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share