Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
Geoff Wild
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.