I have a machine that aggregates syslog data from many devices, I keep all the devices that I want to have logging to my device in /etc/hosts so that they all have names that I understand. If a device logs to my machine that is not in /etc/hosts, I would like to have something else log so that I can find out what that host is and alert on it.
I have to take all the logs that are thrown at my devices, put them in one file and only minimally filter so sometimes I take on upwards of 12GB of logs per day. Because of the size of the log over time (which is rotated daily) I don't want to do something like cat/tr/cut/grep of the log in a cronjob.
Are there any other features in syslog-ng, linux tricks or iptables tweaks that would help identify when log messages come in from an unidentified host?