Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

RSYSLOG configuration in Suse

Leer en espanol
RSYSLOG configuration in Suse

Table of contents

textzypper install rsyslog We access the configuration file /etc/sysconfig/syslog and we must search for and modify the following lines: textSYSLOG ===

We install RSYSLOG If we don't have it already installed:

text
zypper install rsyslog

We access the configuration file /etc/sysconfig/syslog and we must search and modify the following lines:

text
SYSLOG_DAEMON=»rsyslogd»

RSYSLOGD_COMPAT_VERSION=»4″

We add the configuration in /etc/rsyslog.d/90-graylog2.conf (In my case I am using graylog)

text
$template GRAYLOGRFC5424,»%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msg%\n»

*.* @192.168.1.111:514;GRAYLOGRFC5424

We restart the service

text
rcsyslog restart

All the best

:wq!

Comments