[rsyslog] if %FROMHOST% == '???' then %FROMHOST% == %IP%

Michael Maymann michael at maymann.org
Wed Feb 1 12:48:57 CET 2012


I want to log information about hosts that are not logging with correct
In my current setup, I get a dir "???" where these host(s) are logging to...

I would like to change this to the hosts IP instead, something like:
if %FROMHOST% == '???' then %FROMHOST% == %IP

But don't know the correct format...
Anyone who can help ?

Thanks in advance :-) !

More information about the rsyslog mailing list