On Fri, 6 Dec 2019, lxy via rsyslog wrote:
Hello, I find that omuxsock only support legacy config, so how to bind the queue settings with it?ruleset(name="writeRemoteData" queue.type="fixedArray" queue.size="250000" queue.dequeueBatchSize="4096" queue.workerThreads="4" ) { action(type="omfile" file="/var/log/remote.log" ioBufferSize="64k" flushOnTXEnd="off" asyncWriting="on") } So if I want to use an omuxsock as an output, what can I do? The default settings are inefficiency.
you could do a queue on a ruleset as you list here, or you can use the $foo settings to set the queue the legacy way just before your omuxsock action.
David Lang _______________________________________________ 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.

