syslog ip ranges to specific files using `rsyslog`
- by Mike Pennington
I have many Cisco / JunOS routers and switches that send logs to my Debian server, which uses rsyslogd.
How can I configure rsyslogd to send these router / switch logs to a specific file, based on their source IP address? I do not want to pollute general system logs with these entries.
For instance:
all routers in Chicago (source ip block:…