lanas wrote:
Basically rsyslog works like syslog, but adds a few more options. So simply specify the server (and optional port) to start with and make a few tests by using the logger utility.
*.* @@remote-host:514
Replace remote-host with your remote syslog. 514 is the default well-known syslog port so unless you have set up something else, you can leave it there.
Don't forget to restart/reload rsyslog (or any other syslog daemon for that matter) after doing configuration changes. This sometimes can be done by simply sending the daemon a HUP signal:
killall -HUP daemon
or by restarting it altogether:
/etc/init.d/daemon restart
Hope this helps.
Don't forget to configure the host you are logging to so that it will accept logging from an outside machine. By default, it probably doesn't.
Mikkel