Proteggiamo il tuo ambiente digitale da qualsiasi attacco informatico. Sfrutta tutte le potenzialità della piattaforma SGBox!

Gallery

Contatti

Via Melchiorre Gioia, 168 - 20125 Milano

info@sgbox.it

+39 02 60830172

Search another article?

Syslog configuration on OpenSuse

You are here:
< Back

On linux environment is not necessary to install a specific agent to send log to SGBox. The syslog protocol will be used.

ifup eth0
ip a add 192.168.1.200/24 dev eth0
ip route add default via 192.168.1.254

If not already present, install rsyslog packet.

zypper refresh
zypper update
zypper install vim
zypper install rsyslog
systemctl start rsyslog
systemctl enable rsyslog

Edit “rsyslog.conf” file

vi /etc/rsyslog.conf

Add the following row after $IncludeConfig /etc/rsyslog.d/*.conf in order to send only all logs. Is possible use the IP or the hostname of SGBox

*.* @SGBox-IP

Restart rsyslog deamon to load the new configuration and start to send logs

systemctl restart rsyslog

Logs, by default, are stored in /var/log/messages