-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrsyslog.conf
34 lines (26 loc) · 1.07 KB
/
rsyslog.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# rsyslog v5: load input modules
# If you do not load inputs, nothing happens!
# You may need to set the module load path if modules are not found.
$ModLoad immark # provides --MARK-- message capability
$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)
# default permissions for all log files.
$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
# Include configuration files from directory
$IncludeConfig /etc/rsyslog.d/*
# Everybody gets emergency messages
*.emerg :omusrmsg:*
# TCP Syslog Server:
$ModLoad imtcp # needs to be done just once
$InputTCPServerRun 514
# UDP Syslog Server:
$ModLoad imudp # provides UDP syslog reception
$UDPServerRun 514 # start a UDP syslog server at standard port 514
#USE_TLS#$DefaultNetstreamDriverCAFile /etc/ssl/certs/ca-certificates.crt
#USE_TLS#$ActionSendStreamDriver gtls
#USE_TLS#$ActionSendStreamDriverMode 1
#USE_TLS#$ActionSendStreamDriverAuthMode x509/name
#USE_TLS#$ActionSendStreamDriverPermittedPeer *.logentries.com