# Syslog from network devices to Filebeat

**URL:** <https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 13, 2020, 8:59am UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928 "2020-07-13T08:59:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sera](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sera](https://discuss.elastic.co/u/sera)\
**Post date:** [July 13, 2020, 8:59am UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928/1 "2020-07-13T08:59:01Z")

</div>

Hi - I can't seem to get Filebeat to collect syslog from ONLY my network devices. It seems to collect everything from /var/log/messages (Filebeat installed on Centos 7) and from my network devices.

Here are the input/output parts of my filebeat.yml:

```
filebeat.inputs:
 
 - type: syslog
   protocol.udp:
     host: "0.0.0.0:10514"
 
 output.logstash:
   hosts: ["localhost:5044"]

```

The end result is that in Elasticsearch I am seeing all logs from /var/log/messages and from the network devices, instead of only from the network devices.

module.d/system.yml looks like this:

```
 - module: system
   syslog:
     enabled: true

```

Thanks,  
Sera

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [July 13, 2020, 11:58am UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928/2 "2020-07-13T11:58:38Z")

</div>

Hi!

Since you want to collect only network inputs you need to disable `system` module.  
Most probably it is `module.d/system.yml` that is responsible for collecting the log messages from /var/log/.

C.

---

<div class="post-metadata">

**Author:** ![sera](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sera](https://discuss.elastic.co/u/sera)\
**Post date:** [July 13, 2020, 12:02pm UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928/3 "2020-07-13T12:02:24Z")

</div>

But if I disable the system module won't that disable the syslog ingest pipeline? I want these logs to appear in the "Dashboards [Filebeat System] ECS". Is that the best ES dashboard to use for this?

Thanks!

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [July 14, 2020, 7:43am UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928/4 "2020-07-14T07:43:17Z")

</div>

Hi again!

I think I'm little bit confused. Do you need to collect logs from `/var/log/messages` too or you just want to collect from network using:

```auto
 - type: syslog
   protocol.udp:
     host: "0.0.0.0:10514"

```

?

C.

---

<div class="post-metadata">

**Author:** ![sera](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sera](https://discuss.elastic.co/u/sera)\
**Post date:** [July 14, 2020, 7:56am UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928/5 "2020-07-14T07:56:21Z")

</div>

My apologies - I did not understand - I assumed that the pre-built syslog dashboard could be applied to network syslog. I see now that this dashboard is only for linux/unix syslog.

Sera

---

<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 11, 2020, 9:56am UTC](https://discuss.elastic.co/t/syslog-from-network-devices-to-filebeat/240928/6 "2020-08-11T09:56:29Z")

</div>

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