Dear all,
I'm trying to configure syslog-ng as relay/proxy server. Seems to be simple, but syslog server recieves encapsulated original syslog messages within outgoing "syslog-relay" messages.
Is there any way to configure syslog-ng (relay) to just forward orignal messages to syslog server?
Syslog-ng version used: 3.3.9
syslog-client$ logger "hello from syslog client"
on syslog-relay I added the following configuration:
######## sources ###############
udp(ip(0.0.0.0) port(514));
######## destinations ###############
destination d_syslog_server {
syslog("syslog-server" transport("udp") port(514));
######## logging ###############
destination(d_syslog_server);
syslog-server$ tail -F /var/log/syslog
Sep 6 23:53:28 syslog-relay-ip 1 2014-09-06T23:53:28+03:00 syslog-client-ip 1 - - - 2014-09-06T23:53:28+03:00 syslog-client-hostname root - - [meta sequenceId="38"] hello from syslog client
With best regards,
Michael Yacc