System Administration
Showing results for 
Search instead for 
Do you mean 

How to configure /etc/rsyslog.conf so "martian source" messages got to a different log file

Highlighted
Honored Contributor Honored Contributor

How to configure /etc/rsyslog.conf so "martian source" messages got to a different log file

I would like to get "martian source" messages out of my messages file and into say /var/log/martian

 

Example:

 

Mar 20 10:23:53 ix kernel: martian source 192.168.2.255 from 192.168.2.242, on dev eth0
Mar 20 10:23:53 ix kernel: ll header: ff:ff:ff:ff:ff:ff:00:16:35:62:45:56:08:00

 

 

Currently running Fedora 12.

 

Thanks...

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.