Hi,

I'm having a bit of difficulty getting logs received via imrelp to be
written to the location I want them to be.

Here's my server configuration:

    $ModLoad imrelp
    $InputRELPServerRun 20514
    # When receiving logs from clients, put them in respective
per-host, per-day directories
    # at /var/log/rsyslog/<hostname>-YYYY-MM-DD
    $template ShippedLogs,"/var/log/rsyslog/%source%-%$now%"
    :inputname, isequal, "imrelp"  ?ShippedLogs

...and here's the client config:

    $ModLoad omrelp
    *.* :omrelp:10.214.99.138:20514

The logging appears to work as I expect; the logs from the clients do
end up on the remote system, but they don't seem to get logged to the
/var/log/rsyslog/ files I would expect based on the template -- they
instead are appearing in the server's /var/log/syslog.

Am I missing something? From the manual, I can't see anything obvious
I'm doing too wrong? Any help would be very much appreciated.

Many thanks,
Oliver Beattie
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to