# Time ranges alerts

**URL:** <https://discuss.elastic.co/t/time-ranges-alerts/40846>\
**Category:** Logstash\
**Created:** [February 3, 2016, 9:15am UTC](https://discuss.elastic.co/t/time-ranges-alerts/40846 "2016-02-03T09:15:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmatv](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@pmatv](https://discuss.elastic.co/u/pmatv)\
**Post date:** [February 3, 2016, 9:15am UTC](https://discuss.elastic.co/t/time-ranges-alerts/40846/1 "2016-02-03T09:15:53Z")

</div>

Hello everyone!

I've configured logstash for parsing Nginx web-server log files.  
There were email notifications generated in case of specific status code - 400,404,500 etc.  
But now it generates hundreds/thousands mails per day as we have a lot of requests.  
I didn't find any solution how define some time ranges for grouping events.

So if there any possibilities to reduce triggering each time alert by gathering, for example, once per hour/day all messages and send by one email?

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, 5:13am UTC](https://discuss.elastic.co/t/time-ranges-alerts/40846/2 "2017-07-06T05:13:15Z")

</div>

Closed on July 6, 2017, 5:13am UTC


