# Throttle mix counters

**URL:** <https://discuss.elastic.co/t/throttle-mix-counters/57030>\
**Category:** Logstash\
**Created:** [August 2, 2016, 3:37pm UTC](https://discuss.elastic.co/t/throttle-mix-counters/57030 "2016-08-02T15:37:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcmga](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@marcmga](https://discuss.elastic.co/u/marcmga)\
**Post date:** [August 2, 2016, 3:37pm UTC](https://discuss.elastic.co/t/throttle-mix-counters/57030/1 "2016-08-02T15:37:04Z")

</div>

Hi,

I use throttle to count, send an email when it reach the number of logs.  
The problem is that i use the key %{host} and it counts all messages, because all messages came with a field "host".  
I thought it counted it isolated:

- host1 : 1+1+1+1  
-host2: 1+1+1+1

How can i get that behaviour?

Thank you

---

<div class="post-metadata">

**Author:** ![marcmga](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@marcmga](https://discuss.elastic.co/u/marcmga)\
**Post date:** [August 31, 2016, 3:01pm UTC](https://discuss.elastic.co/t/throttle-mix-counters/57030/2 "2016-08-31T15:01:01Z")

</div>

I'm sure my target is done by someone...i can't believe no one knows how to set it up in the right way.

Thanks

---

<div class="post-metadata">

**Author:** ![marcmga](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@marcmga](https://discuss.elastic.co/u/marcmga)\
**Post date:** [October 5, 2016, 3:08pm UTC](https://discuss.elastic.co/t/throttle-mix-counters/57030/3 "2016-10-05T15:08:27Z")

</div>

I'm still with this issue.  
PLease someone knows how to fix that?

Thanks in advance

---

<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, 4:35am UTC](https://discuss.elastic.co/t/throttle-mix-counters/57030/4 "2017-07-06T04:35:34Z")

</div>

Closed on July 6, 2017, 4:35am UTC


