Rsyslog

Da sia.
Vai alla navigazione Vai alla ricerca

rsyslog

Configurare rsyslog per mandare i log via TCP con SSL a ikebana.

   sudo apt-get install rsyslog-gnutls

Modificare /etc/rsyslog.conf

# certificate files
$DefaultNetstreamDriverCAFile /etc/ssl/certs/trusted.crt

$ActionSendStreamDriver	gtls
$ActionSendStreamDriverMode 1 # require TLS for the connection
$ActionSendStreamDriverAuthMode anon # server is NOT authenticated


$ModLoad imfile
$InputFileName   /var/log/ldaplogpicker/picker.log
$InputFileTag ldaplogpicker
$InputFileSeverity info
$InputFileFacility local2
$InputFilePollInterval 10
$InputFileStateFile ldaplogpicker
$InputRunFileMonitor

local2.*			@@ikebana.dmz-ext.unimo.it:10514