# How can I draw the moving average on the number of events per day on kibana dashboard?

**URL:** <https://discuss.elastic.co/t/how-can-i-draw-the-moving-average-on-the-number-of-events-per-day-on-kibana-dashboard/17666>\
**Category:** Elasticsearch\
**Created:** [May 22, 2014, 7:42am UTC](https://discuss.elastic.co/t/how-can-i-draw-the-moving-average-on-the-number-of-events-per-day-on-kibana-dashboard/17666 "2014-05-22T07:42:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shihpeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shihpeng/32/40318_2.png) [@shihpeng](https://discuss.elastic.co/u/shihpeng)\
**Post date:** [May 22, 2014, 7:42am UTC](https://discuss.elastic.co/t/how-can-i-draw-the-moving-average-on-the-number-of-events-per-day-on-kibana-dashboard/17666/1 "2014-05-22T07:42:39Z")

</div>

Hi, I know that Kibana dashboard can easily draw the line or histogram on the number of events per day. However, I would like to draw the moving average (maybe 3-day MA or 7-day MA) on the number of events of each day. How can I do this? Any information or suggestion would be helpful:)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:27am UTC](https://discuss.elastic.co/t/how-can-i-draw-the-moving-average-on-the-number-of-events-per-day-on-kibana-dashboard/17666/2 "2017-07-06T01:27:44Z")

</div>


