# Email Plugin in logstash

**URL:** <https://discuss.elastic.co/t/email-plugin-in-logstash/73355>\
**Category:** Logstash\
**Created:** [January 31, 2017, 11:59am UTC](https://discuss.elastic.co/t/email-plugin-in-logstash/73355 "2017-01-31T11:59:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bini/32/18360_2.png) [@bini](https://discuss.elastic.co/u/bini)\
**Post date:** [January 31, 2017, 11:59am UTC](https://discuss.elastic.co/t/email-plugin-in-logstash/73355/1 "2017-01-31T11:59:19Z")

</div>

Hi,  
I want to trigger an email, if [fs.device\_name] == "C:" and [fs.used] \>= "25,000,000,000". How can this be done? Any help would be appreciated. 🙂

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 1, 2017, 8:43pm UTC](https://discuss.elastic.co/t/email-plugin-in-logstash/73355/2 "2017-02-01T20:43:24Z")

</div>

Have you read [https://www.elastic.co/guide/en/logstash/current/event-dependent-configuration.html](https://www.elastic.co/guide/en/logstash/current/event-dependent-configuration.html) and seen the examples there?

---

<div class="post-metadata">

**Author:** ![bini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bini/32/18360_2.png) [@bini](https://discuss.elastic.co/u/bini)\
**Post date:** [February 2, 2017, 8:34am UTC](https://discuss.elastic.co/t/email-plugin-in-logstash/73355/3 "2017-02-02T08:34:50Z")

</div>

Thanks for the link, i'll go through it and try to come up with a config. Thanks for help!! 🙂

---

<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:** [March 2, 2017, 8:34am UTC](https://discuss.elastic.co/t/email-plugin-in-logstash/73355/4 "2017-03-02T08:34:53Z")

</div>

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