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