I was wondering if anyone was familiar with the process of forwarding all log files from a PPC Gnu/Linux using syslog (installing rsyslog is not an option) to a x86_64 GNU/Linux running Rsyslog.

I will need to keep the logs of both systems separate and of course rotate logs out periodically.I figured that modifying the syslog.conf file by adding the following line at the end of it should make it work, but it does not. Any other steps I need to take?

*.* @ip-address

Thank you

  • You need a space between *.* and @ip-address. Is this a typo here? – MikeA Oct 19 '16 at 17:59
  • Yes that is a typo on my post, I will correct it right now – Macterror Oct 19 '16 at 18:00
  • Just checked UDP 514 on the rsyslog host and it is in fact open. How do I try switching to TCP? – Macterror Oct 19 '16 at 19:10

The receiving rsyslog server needs to be configured too. Depending on the version you can add to the start of /etc/rsyslog.conf (look for these lines commented out):

$ModLoad imudp
$UDPServerRun 514
  • I think this actually did it. Any way I could send a message to check if it worked? I do see some logs being updated – Macterror Oct 20 '16 at 17:46
  • You might have the logger command, eg logger -p user.err 'hello there'. – meuh Oct 20 '16 at 17:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.