# Need to monitor multiple Log sources

**URL:** <https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150>\
**Category:** Elasticsearch\
**Created:** [July 30, 2018, 10:45am UTC](https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150 "2018-07-30T10:45:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![addanuj](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@addanuj](https://discuss.elastic.co/u/addanuj)\
**Post date:** [July 30, 2018, 10:45am UTC](https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150/1 "2018-07-30T10:45:24Z")

</div>

HI All,

I have 200 different Log sources which i need to monitor all of them has different IP address, what is the best possible way if any of the IP/Logsource is not sending logs to ELK, i need to generate an alert. a watch would be able to identify, but i dont know how to track the IP which is not sending logs.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 30, 2018, 11:07am UTC](https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150/2 "2018-07-30T11:07:35Z")

</div>

Have you looked at this example in the [examples repository on GitHub](https://github.com/elastic/examples/tree/master/Alerting/Sample%20Watches/system_fails_to_provide_data)? It seems quite similar to what you are looking for?

---

<div class="post-metadata">

**Author:** ![addanuj](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@addanuj](https://discuss.elastic.co/u/addanuj)\
**Post date:** [August 2, 2018, 9:44am UTC](https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150/3 "2018-08-02T09:44:56Z")

</div>

Thanks Christian,

this can work for me but i don't understand that how i will define a list of IPaddress which i need to monitor.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 2, 2018, 5:55pm UTC](https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150/4 "2018-08-02T17:55:32Z")

</div>

This example does not work off a list of IP addresses. It just compares the sources that sent data over the most recent period to the ones that sent data earlier. If a new source is added it will therefore pick this up, and if any source is removed it will alert on that even if it is a planned removal. If you want to compare this to a fixed set of IP addresses you could do this in additional chained steps.

---

<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:** [August 30, 2018, 5:55pm UTC](https://discuss.elastic.co/t/need-to-monitor-multiple-log-sources/142150/5 "2018-08-30T17:55:34Z")

</div>

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