# How to turn off and turn on email alerts from logstash without restarting application components or logstash

**URL:** <https://discuss.elastic.co/t/how-to-turn-off-and-turn-on-email-alerts-from-logstash-without-restarting-application-components-or-logstash/159352>\
**Category:** Logstash\
**Created:** [December 4, 2018, 12:10pm UTC](https://discuss.elastic.co/t/how-to-turn-off-and-turn-on-email-alerts-from-logstash-without-restarting-application-components-or-logstash/159352 "2018-12-04T12:10:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naga\_kunchala](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@naga\_kunchala](https://discuss.elastic.co/u/naga_kunchala)\
**Post date:** [December 4, 2018, 12:10pm UTC](https://discuss.elastic.co/t/how-to-turn-off-and-turn-on-email-alerts-from-logstash-without-restarting-application-components-or-logstash/159352/1 "2018-12-04T12:10:50Z")

</div>

**does logstash permit any run-time dynamic variables? The reason I ask is that I can imagine a case where some condition happens that triggers alert mails at a much higher frequency than we intended. So, it would be good if we could turn off alerting for that message without restarting application components or logstash**

---

<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 1, 2019, 12:10pm UTC](https://discuss.elastic.co/t/how-to-turn-off-and-turn-on-email-alerts-from-logstash-without-restarting-application-components-or-logstash/159352/2 "2019-01-01T12:10:53Z")

</div>

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