Rolling Averages for Dashboard Graphs


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)


With 3% smoothing:


And with 5% smoothing:


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.

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.