rsyslog configuration in a specific scenario
Hi all,
I have a bunch of rsyslog messages that I need to add the %fromhost-ip% tag because the client doesn't send it's IP address on the message body. The configuration: Code:
$template tplremote,"%timegenerated% %HOSTNAME% %fromhost-ip% %syslogtag%%msg:::drop-last-lf%\n" Code:
# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional Can any of the experts help out? Many thanks BR AV |
Quote:
I did mine like so |
All times are GMT -5. The time now is 01:17 PM. |