Install rsyslog on Suse 12 SP2

From Notes_Wiki

Home > Suse > Install rsyslog on Suse 12 SP2

To install rsyslog on Suse 12 SP2 use:

  1. zypper in rsyslog
  2. vim /etc/rsyslog.d/remote.conf
    Uncomment $ModLoad imudp.so and $UDPServerRun 514
  3. rcsyslog restart
  4. netstat -alnp | grep 514
  5. Edit /etc/rsyslog.conf and client specific configuration such as:
    if $fromhost-ip startswith '10.4.4.54' then /var/log/netlog/10.4.4.54.log
    & ~
    after all modules are loaded, before kernel, etc. logs are sent elsewhere.
  6. Create /var/log/netlog folder
  7. rcsyslog restart
  8. Test by forwarding logs to rsyslog server


Refer:



Home > Suse > Install rsyslog on Suse 12 SP2