Adding moving averages to a graph of Elasticsearch data in grafana is pretty easy, but not well documented
- Add a new metric
- Choose MovingFunction and pick the metric you want an average on
- Expand the options, set Window to the number of samples you want to have your moving function on
- Script should be one of the following:
- MovingFunctions.max(values)
- MovingFunctions.min(values)
- MovingFunctions.sum(values)
- MovingFunctions.unweightedAvg(values)
- MovingFunctions.linearWeightedAvg(values)