From 8389635e1c0ab0d9a02fc5fa1157a467304c420b Mon Sep 17 00:00:00 2001 From: Sridharan Kuppa Date: Mon, 5 Dec 2016 11:42:06 -0800 Subject: [PATCH] Update the rsyslog.conf for > 7.x as per the doc --- rsyslog.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rsyslog.conf b/rsyslog.conf index b8f445c..adb9e8e 100644 --- a/rsyslog.conf +++ b/rsyslog.conf @@ -22,13 +22,9 @@ $ActionResumeRetryCount -1 # infinite retries if host is down #RsyslogGnuTLS $DefaultNetstreamDriverCAFile /etc/rsyslog.d/keys/ca.d/loggly.crt -$ActionSendStreamDriver gtls -$ActionSendStreamDriverMode 1 -$ActionSendStreamDriverAuthMode x509/name -$ActionSendStreamDriverPermittedPeer *.loggly.com -# Send everything to Loggly over TLS -*.* @@logs-01.loggly.com:6514;LogglyFormat +# Send messages to Loggly over TCP using the template. +action(type="omfwd" protocol="tcp" target="logs-01.loggly.com" port="6514" template="LogglyFormat" StreamDriver="gtls" StreamDriverMode="1" StreamDriverAuthMode="x509/name" StreamDriverPermittedPeers="*.loggly.com") # TCP Syslog Server $InputTCPServerRun 514 # start a TCP syslog server at standard port 514