# Best way to ensure logs from all hosts are being indexed

**URL:** <https://discuss.elastic.co/t/best-way-to-ensure-logs-from-all-hosts-are-being-indexed/250424>\
**Category:** Elasticsearch\
**Created:** [September 29, 2020, 10:20pm UTC](https://discuss.elastic.co/t/best-way-to-ensure-logs-from-all-hosts-are-being-indexed/250424 "2020-09-29T22:20:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce289](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@bruce289](https://discuss.elastic.co/u/bruce289)\
**Post date:** [September 29, 2020, 10:20pm UTC](https://discuss.elastic.co/t/best-way-to-ensure-logs-from-all-hosts-are-being-indexed/250424/1 "2020-09-29T22:20:01Z")

</div>

Hi all,

The log pipeline for our Linux systems is:

rsyslog =\> logstash =\> elasticsearch

We want to put something in place that would alert us if logs from any of our approximately 5000 hosts are not being indexed in Elasticsearch. I would imagine this is a fairly common need so was wondering if there are any best practices for this?

We have a Platinum on-premises licence FWIW.

Many thanks.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 29, 2020, 10:29pm UTC](https://discuss.elastic.co/t/best-way-to-ensure-logs-from-all-hosts-are-being-indexed/250424/2 "2020-09-29T22:29:50Z")

</div>

> [@bruce289](#):
>
> We have a Platinum on-premises licence FWIW.

Definitely reach out to your Support Engineer about this one then 🙂

You can setup an ML job to let you know if there is an unusual drop in logs from any given host, and then send you an Alert.

---

<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:** [October 27, 2020, 10:29pm UTC](https://discuss.elastic.co/t/best-way-to-ensure-logs-from-all-hosts-are-being-indexed/250424/3 "2020-10-27T22:29:53Z")

</div>

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