David,
I would like to continue using the input() statements because I changed all the 
"template (name, type ), if then { action(), stop}" stanzas to support rsyslog 
v8.34
I also using module(load="imudp" SchedulingPolicy="fifo" SchedulingPriority="5" 
threads="2" timeRequery="8" batchSize="128") to support receiving heavy 
rsyslogs traffic with rsyslog v8

Or will "$template, if then ?; & ~" stanzas still work with rsyslog v 8.34? How 
to convert "module(load="imudp" SchedulingPolicy="fifo" SchedulingPriority="5" 
threads="2" timeRequery="8" batchSize="128")"  in old syntax?

I have following rpms installed
rsyslog-gnutls-8.34.0-2.el6.x86_64
rsyslog-8.34.0-2.el6.x86_64

Could I be directed to the correct information on how to convert following:
# make gtls driver the default
$DefaultNetstreamDriver gtls

# certificate files
$DefaultNetstreamDriverCAFile /rsyslog/protected/ca.pem
$DefaultNetstreamDriverCertFile /rsyslog/protected/machine-cert.pem
$DefaultNetstreamDriverKeyFile /rsyslog/protected/machine-key.pem

$InputTCPServerStreamDriverAuthMode x509/name
$InputTCPServerStreamDriverPermittedPeer *.example.net
$InputTCPServerStreamDriverMode 1 # run driver in TLS-only mode
$InputTCPServerRun 10514 # start up listener at port 10514

To work on rsyslog v8.34 ?
Thanks
Mike

-----Original Message-----
From: David Lang <[email protected]> 
Sent: Wednesday, April 25, 2018 8:19 PM
To: Li, Mike via rsyslog <[email protected]>
Cc: Li, Mike <[email protected]>
Subject: [EXTERNAL] Re: [rsyslog] Resend: rsyslog v8.x server config with tls

it would be clearer if you could show us a copy of your full config.

But I believe that the problem is that you are mixing old and new syntax in one 
of the few ways that rsyslog complains about.

If you have no input() statements, the obsolete multi-line version works

But as soon as you have one new style input() statement, you need to convert 
the rest of them over as well.

Confidentiality Notice::  This email, including attachments, may include 
non-public, proprietary, confidential or legally privileged information.  If 
you are not an intended recipient or an authorized agent of an intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of the information contained in or transmitted with this e-mail is 
unauthorized and strictly prohibited.  If you have received this email in 
error, please notify the sender by replying to this message and permanently 
delete this e-mail, its attachments, and any copies of it immediately.  You 
should not retain, copy or use this e-mail or any attachment for any purpose, 
nor disclose all or any part of the contents to any other person. Thank you.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to