# Visualize moving average and standard devaition of daily count

**URL:** <https://discuss.elastic.co/t/visualize-moving-average-and-standard-devaition-of-daily-count/32574>\
**Category:** Kibana\
**Created:** [October 20, 2015, 2:00pm UTC](https://discuss.elastic.co/t/visualize-moving-average-and-standard-devaition-of-daily-count/32574 "2015-10-20T14:00:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucyy](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lucyy](https://discuss.elastic.co/u/lucyy)\
**Post date:** [October 20, 2015, 2:00pm UTC](https://discuss.elastic.co/t/visualize-moving-average-and-standard-devaition-of-daily-count/32574/1 "2015-10-20T14:00:20Z")

</div>

I'm working on twitter data and I search the tweet text using some key words (such as word 'flu'). Then I generate date\_histogram of daily counts of the tweets which contain the search key words ('flu') and visualize it in Kibana. Is there any way that I could plot the moving average of the daily counts (say, 7 days moving average) and upper control limit in Kibana, so that I could find the days that have higher number of counts than other days? Thanks.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [October 21, 2015, 5:22am UTC](https://discuss.elastic.co/t/visualize-moving-average-and-standard-devaition-of-daily-count/32574/2 "2015-10-21T05:22:02Z")

</div>

There is no moving average support in Kibana currently (though it was just [introduced](https://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-aggregations-pipeline-movavg-aggregation.html) as experimental in Elasticsearch). Feel free to raise an enhancement request, if this is important to you: [https://github.com/elastic/kibana/issues](https://github.com/elastic/kibana/issues)

---

<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, 2:10pm UTC](https://discuss.elastic.co/t/visualize-moving-average-and-standard-devaition-of-daily-count/32574/3 "2017-07-06T14:10:57Z")

</div>


