Remote SYSLOG on the WAGO controllers

I am trying to enable remote syslog on pfc/edge/tp but I am not able to get this to work.
Tried to add one of these to the /etc/syslog-ng.conf without any success.

destination remote { network("ip-of-syslog-server" transport("udp") port(514)); };
destination remote { udp("ip-of-syslog-server" port(514)); };

Anyone that got this working on the WAGO controllers?

I use successfuly this one :

destination d_syslogserver {
       syslog("ip-of-syslog-server" transport("tcp") port(514) );
};

(I think udp can be used as well. )
Then you need to add this one also :

log {
       source(s_local);
       destination(d_syslogserver );
};

Then restart the syslog

/etc/init.d/syslog-ng restart

Take a look to /var/log/syslog-ng.log to see if there is a problem.

Found some tutorials so I got it working. It was the the second log part I was missing :slight_smile:
Tested it with udp and it works as well.

Thanx!

Yes, you can also add some filtering and parsing between the source and the destination.