# Count metric trends

**URL:** <https://discuss.elastic.co/t/count-metric-trends/116960>\
**Category:** Kibana\
**Created:** [January 25, 2018, 4:04am UTC](https://discuss.elastic.co/t/count-metric-trends/116960 "2018-01-25T04:04:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vladi/32/108686_2.png) [@Vladi](https://discuss.elastic.co/u/Vladi)\
**Post date:** [January 25, 2018, 4:04am UTC](https://discuss.elastic.co/t/count-metric-trends/116960/1 "2018-01-25T04:04:39Z")

</div>

Hello,

Is it possible to display trends in the count metric?  
So if the query returns 77 results now, but it shows 60 results for now-1h the display result will be 77 UP trend 17. So the number of documents increased in 17 at the last hour?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f994f2f7a8df53695549bf22d92676c18ce21960.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![Bill\_McConaghy](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bill\_McConaghy](https://discuss.elastic.co/u/Bill_McConaghy)\
**Post date:** [January 25, 2018, 2:29pm UTC](https://discuss.elastic.co/t/count-metric-trends/116960/2 "2018-01-25T14:29:19Z")

</div>

I think this might do what you are looking to do: [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-serialdiff-aggregation.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-serialdiff-aggregation.html)

---

<div class="post-metadata">

**Author:** ![Vladi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vladi/32/108686_2.png) [@Vladi](https://discuss.elastic.co/u/Vladi)\
**Post date:** [January 27, 2018, 5:15am UTC](https://discuss.elastic.co/t/count-metric-trends/116960/3 "2018-01-27T05:15:56Z")

</div>

Hi Bill,  
Thank you for your response. Looks like it is what I was looking for.  
However, as I understand Kibana visualisations do not support this type of searching aggregations?

---

<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:** [February 24, 2018, 5:16am UTC](https://discuss.elastic.co/t/count-metric-trends/116960/4 "2018-02-24T05:16:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
