Difference between revisions of "Install rsyslog on Suse 12 SP2"

From Notes_Wiki
(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 #:...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>Suse|Suse</yambe:breadcrumb>
[[Main Page|Home]] > [[Suse]] > [[Install rsyslog on Suse 12 SP2]]
=Install rsyslog on Suse 12 SP2=


To install rsyslog on Suse 12 SP2 use:
To install rsyslog on Suse 12 SP2 use:
Line 21: Line 20:
Refer:
Refer:
* https://www.suse.com/c/how-configure-sles11-cache-and-send-log-events-sentinel-rsyslogd/
* https://www.suse.com/c/how-configure-sles11-cache-and-send-log-events-sentinel-rsyslogd/
[[Main Page|Home]] > [[Suse]] > [[Install rsyslog on Suse 12 SP2]]

Latest revision as of 02:52, 6 April 2022

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