Install rsyslog on Suse 12 SP2

From Notes_Wiki
Revision as of 08:14, 15 April 2018 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Suse|Suse</yambe:breadcrumb> =Install rsyslog on Suse 12 SP2= To install rsyslog on Suse 12 SP2 use: # zypper in rsyslog # vim /etc/rsyslog.d/remote.conf #:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Suse|Suse</yambe:breadcrumb>

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: