# How to find the Reason and Event of a warning

**URL:** <https://discuss.elastic.co/t/how-to-find-the-reason-and-event-of-a-warning/364055>\
**Category:** Logstash\
**Created:** [July 30, 2024, 12:27pm UTC](https://discuss.elastic.co/t/how-to-find-the-reason-and-event-of-a-warning/364055 "2024-07-30T12:27:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.h](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@t.h](https://discuss.elastic.co/u/t.h)\
**Post date:** [July 30, 2024, 12:27pm UTC](https://discuss.elastic.co/t/how-to-find-the-reason-and-event-of-a-warning/364055/1 "2024-07-30T12:27:14Z")

</div>

Hello,

I got often this logstash warning.

```auto
[2024-07-30T13:39:05,486][WARN][logstash.filters.throttle][main][34074a72c3b9ba7bd86762d4ae78ed3b6314e6bcc23a9a4cf6c5707484cc7c58] filters/LogStash::Filters::Throttle: timeslot disappeared, increase max_age to prevent this.

```

I try already to increase max\_age time to minimum of the double of the duration time, without any effect.  
My problem is, I don't know which "throttle" makes this warning and my logstash config has over 100 throttles.  
It is possible to save/mark the event when it has a warning or an error?  
Or do you have any other ideas to debug/solve this problem?

Thanks for your help  
Thomas

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [July 30, 2024, 12:47pm UTC](https://discuss.elastic.co/t/how-to-find-the-reason-and-event-of-a-warning/364055/2 "2024-07-30T12:47:04Z")

</div>

> [@t.h](#):
>
> My problem is, I don't know which "throttle" makes this warning and my logstash config has over 100 throttles.  
> It is possible to save/mark the event when it has a warning or an error?  
> Or do you have any other ideas to debug/solve this problem?

Have you tried adding an [id](https://www.elastic.co/guide/en/logstash/current/plugins-filters-throttle.html#plugins-filters-throttle-id) to each one of your throttle filters?

This is used to identifies the filter, when you do not add an `id` logstash generates one, if I'm not wrong is this hash here:

> [2024-07-30T13:39:05,486][WARN][logstash.filters.throttle][main][**34074a72c3b9ba7bd86762d4ae78ed3b6314e6bcc23a9a4cf6c5707484cc7c58**]

---

<div class="post-metadata">

**Author:** ![t.h](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@t.h](https://discuss.elastic.co/u/t.h)\
**Post date:** [July 30, 2024, 12:49pm UTC](https://discuss.elastic.co/t/how-to-find-the-reason-and-event-of-a-warning/364055/3 "2024-07-30T12:49:58Z")

</div>

Not yet, I will try.

Thx.

I will give feedback in some days, it is helps.

---

<div class="post-metadata">

**Author:** ![t.h](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@t.h](https://discuss.elastic.co/u/t.h)\
**Post date:** [July 31, 2024, 7:14am UTC](https://discuss.elastic.co/t/how-to-find-the-reason-and-event-of-a-warning/364055/4 "2024-07-31T07:14:22Z")

</div>

I add erverywhere an ID and it works fine. Now I understood this feature. So cool. 🙂

I found my throttle, which makes this problem.

Thank you.
