# Alert Notification just once

**URL:** <https://discuss.elastic.co/t/alert-notification-just-once/256030>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [November 19, 2020, 7:27pm UTC](https://discuss.elastic.co/t/alert-notification-just-once/256030 "2020-11-19T19:27:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user007](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@user007](https://discuss.elastic.co/u/user007)\
**Post date:** [November 19, 2020, 7:27pm UTC](https://discuss.elastic.co/t/alert-notification-just-once/256030/1 "2020-11-19T19:27:34Z")

</div>

Is it possible to send an alert notification only once (when the alert starts) and not repeatedly within a certain time frame?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![user007](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@user007](https://discuss.elastic.co/u/user007)\
**Post date:** [December 10, 2020, 6:11pm UTC](https://discuss.elastic.co/t/alert-notification-just-once/256030/2 "2020-12-10T18:11:14Z")

</div>

As it seems that there is no feature which allows that, i used a workaround with painless scripts.

My goal was to send a notification when a value in the logs is over a specific threshold. But then i got notifications as long as these value was over the threshold. But i just wanted a notification when it's over and then again when it's under the threshold.

With two painless scripts and different time ranges this problem can be solved easily.

---

<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:** [January 7, 2021, 6:11pm UTC](https://discuss.elastic.co/t/alert-notification-just-once/256030/3 "2021-01-07T18:11:16Z")

</div>

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