# Email output with heartbeat input

**URL:** https://discuss.elastic.co/t/email-output-with-heartbeat-input/145879
**Category:** Logstash
**Created:** [August 24, 2018, 9:30am UTC](https://discuss.elastic.co/t/email-output-with-heartbeat-input/145879 "2018-08-24T09:30:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cowensel](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cowensel](https://discuss.elastic.co/u/cowensel)
#### Post date: [August 24, 2018, 9:30am UTC](https://discuss.elastic.co/t/email-output-with-heartbeat-input/145879/1 "2018-08-24T09:30:46Z")

</div>

We have a heartbeat input setup on logstash. Is there a way to use the email output when the heartbeat does not generate any events to send an email.

We have a scenario where logstash stops collecting new events but we do not get notified. Would this allow us to be notified when logstash stops collecting new events?

any advise would help

---

<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: [August 24, 2018, 2:21pm UTC](https://discuss.elastic.co/t/email-output-with-heartbeat-input/145879/2 "2018-08-24T14:21:32Z")

</div>

No, I don't see how this could be implemented with Logstash alone. Besides, if the Logstash pipeline has stopped for an unknown reason it's quite likely that that reason would prevent Logstash from sending an email. I suggest you look into [Lovebeat](https://github.com/boivie/lovebeat).

---

<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: [September 21, 2018, 2:21pm UTC](https://discuss.elastic.co/t/email-output-with-heartbeat-input/145879/3 "2018-09-21T14:21:39Z")

</div>

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