# How to count the metric ‘count’ values in kibana?

**URL:** <https://discuss.elastic.co/t/how-to-count-the-metric-count-values-in-kibana/74849>\
**Category:** Kibana\
**Created:** [February 13, 2017, 8:36am UTC](https://discuss.elastic.co/t/how-to-count-the-metric-count-values-in-kibana/74849 "2017-02-13T08:36:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyncean\_Cura](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@Lyncean\_Cura](https://discuss.elastic.co/u/Lyncean_Cura)\
**Post date:** [February 13, 2017, 8:36am UTC](https://discuss.elastic.co/t/how-to-count-the-metric-count-values-in-kibana/74849/1 "2017-02-13T08:36:29Z")

</div>

HI,

I want to count the terms on the basis of the 'count' values.  
Like 4-terms have count more than 5  
3-terms have count more than 2

Is it possible on Kibana ?

Thanks!

---

<div class="post-metadata">

**Author:** ![Lyncean\_Cura](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@Lyncean\_Cura](https://discuss.elastic.co/u/Lyncean_Cura)\
**Post date:** [February 13, 2017, 8:42am UTC](https://discuss.elastic.co/t/how-to-count-the-metric-count-values-in-kibana/74849/2 "2017-02-13T08:42:46Z")

</div>

I already tried something like this in the Advanced JSON field {"min\_doc\_count": 10}  
But it will filter the result but not able to give me the count of 'result count'

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [February 13, 2017, 10:17pm UTC](https://discuss.elastic.co/t/how-to-count-the-metric-count-values-in-kibana/74849/3 "2017-02-13T22:17:38Z")

</div>

Sounds like you need to have a derivative aggregation and this is not currently possible with Kibana.

---

<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:** [March 13, 2017, 10:18pm UTC](https://discuss.elastic.co/t/how-to-count-the-metric-count-values-in-kibana/74849/4 "2017-03-13T22:18:06Z")

</div>

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