# Alerts for errors in internal elasticsearch/logstash log files

**URL:** <https://discuss.elastic.co/t/alerts-for-errors-in-internal-elasticsearch-logstash-log-files/158491>\
**Category:** Elasticsearch\
**Created:** [November 28, 2018, 7:48am UTC](https://discuss.elastic.co/t/alerts-for-errors-in-internal-elasticsearch-logstash-log-files/158491 "2018-11-28T07:48:37Z")\
**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:** [November 28, 2018, 7:48am UTC](https://discuss.elastic.co/t/alerts-for-errors-in-internal-elasticsearch-logstash-log-files/158491/1 "2018-11-28T07:48:37Z")

</div>

I am wondering if this is possible.

Is there a way for a watcher or task that can be created that will read the internal logs for Elasticsearch and Logstash for any errors which then sends an alert?

I check these logs on a daily basis but if any errors occur over the weekend we do not find out until the monday.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 28, 2018, 8:47am UTC](https://discuss.elastic.co/t/alerts-for-errors-in-internal-elasticsearch-logstash-log-files/158491/2 "2018-11-28T08:47:34Z")

</div>

Hey,

you need to make sure that those logs make it into Elasticsearch first, then you can write any alert you want. Using [filebeat](https://www.elastic.co/guide/en/beats/filebeat/6.5/filebeat-overview.html) to do that would be the way to go here.

--Alex

---

<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:** [December 26, 2018, 8:47am UTC](https://discuss.elastic.co/t/alerts-for-errors-in-internal-elasticsearch-logstash-log-files/158491/3 "2018-12-26T08:47:34Z")

</div>

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