# Alerting with Logstash

**URL:** <https://discuss.elastic.co/t/alerting-with-logstash/47368>\
**Category:** Logstash\
**Created:** [April 14, 2016, 9:31am UTC](https://discuss.elastic.co/t/alerting-with-logstash/47368 "2016-04-14T09:31:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diwertowski](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@diwertowski](https://discuss.elastic.co/u/diwertowski)\
**Post date:** [April 14, 2016, 9:31am UTC](https://discuss.elastic.co/t/alerting-with-logstash/47368/1 "2016-04-14T09:31:58Z")

</div>

Hi,  
I'll do an ELK-Stack with an alertingsystem.  
So my suggestion was somthing like this:

Shipper =\> Redis =\> Indexer =\> ES \<= **Alerting** (Logstash)

Can Logstash read logstash(Alerting) read or use logfiles, if my configfile looks like this:

```
input {
   elasticsearch {...}
}
output {
   email {...}
}

```

or is this the complete wrong way?

---

<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:** [April 15, 2016, 6:09am UTC](https://discuss.elastic.co/t/alerting-with-logstash/47368/2 "2016-04-15T06:09:57Z")

</div>

Don't do this. Logstash won't make a good alerting system. Either use Elastic's own Watcher or use a proper alerting system like Nagios or Icinga and have it poll ES.

---

<div class="post-metadata">

**Author:** ![diwertowski](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@diwertowski](https://discuss.elastic.co/u/diwertowski)\
**Post date:** [April 15, 2016, 6:26am UTC](https://discuss.elastic.co/t/alerting-with-logstash/47368/3 "2016-04-15T06:26:00Z")

</div>

Hi @magnusbaeck,

thanks for your reply! I'll check the products you've said.

Thank you!

---

<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:02am UTC](https://discuss.elastic.co/t/alerting-with-logstash/47368/4 "2017-07-06T05:02:07Z")

</div>


