# Collect SYSLOG from Network Devices

**URL:** <https://community.graylog.org/t/collect-syslog-from-network-devices/14601>\
**Category:** Graylog Central (peer support)\
**Created:** [March 23, 2020, 8:47pm UTC](https://community.graylog.org/t/collect-syslog-from-network-devices/14601 "2020-03-23T20:47:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irmoktran](https://avatars.discourse-cdn.com/v4/letter/i/eada6e/32.png) [@Irmoktran](https://community.graylog.org/u/Irmoktran)\
**Post date:** [March 23, 2020, 8:47pm UTC](https://community.graylog.org/t/collect-syslog-from-network-devices/14601/1 "2020-03-23T20:47:56Z")

</div>

I’m doing a POC of Graylod and studying how it works. The idea is to centralize and collect information from all network devices on the environment.

I’ve managed to deploy and start collecting information from the devices using SYSLOG from devices to the port 514 of Graylog. I’m now thinking how to handle these information that is being collected. To do a kind of “separation” I’ve created on Graylog many SYSLOG INPUTS and to redirect the traffic I’m using IPTABLES rules as follows:

UDP/514 - Default INPUT  
UDP/11514 - SWITCHS management network  
UDP/11515 - Wireless Controller  
UDP/11516 - Identity Managers

IF SOURCE is 172.18.x.x/24, redirect to UDP/11514  
IF SOURCE is 172.21.1.1 redirect to UDP/11515  
IF SOURCE is 192.168.10.1 or 192.168.10.2 redirect to UDP/11516

In this way each input is represent a kind of devices. I have some concerns if this is the correct approach to do this or if there are other ways to organize the received data. I’ve create only these but I will need much more INPUTs for other kinds of devices like FIREWALLs, ROUTERs, APs, OPTIMIZERs and go on…

Thanks in advance for any input regarding this

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [March 24, 2020, 5:17am UTC](https://community.graylog.org/t/collect-syslog-from-network-devices/14601/2 "2020-03-24T05:17:18Z")

</div>

he @Irmoktran

welcome to Graylog - the good is that you can customize the setup to your needs. Read, if that is the way it is working for you do it. Should that not work for you we have different ways in Graylog to handle such.

Personal I would send everything to ONE input in Graylog and route the messages (based on the source) to different streams with the processing pipelines and process the messages after that in dedicated streams. BUT if that is working for you to I can’t tell. Mostly because that needs clear hostname conventions in your network and the ability to fix that fast if it does not match.

The question is, what feels more natural for you? Having one port for each device type an manage this way how processing is done or would you like to just ingest and configure Graylog that this separation and work is done inside of Graylog.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [April 7, 2020, 5:17am UTC](https://community.graylog.org/t/collect-syslog-from-network-devices/14601/3 "2020-04-07T05:17:24Z")

</div>

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