On Wed, 17 Feb 2016, Erlenkötter, Wolfgang wrote:

Hi folks,

I am preparing a setup for a logforwarder host, which will receive logs via udp 
and send it via relp protocol to two other hosts.
All works fine except the "worst-case" when one or two receiver-hosts is down / 
not available. I can configure each queue to save the logs to disk, but if the two 
receiver-hosts aren't available I get the double disk space.  We have a lot of log 
entries and we want to reduce the disk usage.

So my question, it is possible to reduce the size of the outgoing queues and 
configure the main_queue to hold these logsentries or save them to disk?

yes, you can configure the main queue to be disk assisted, and you can also configure a queue on a ruleset that contains the two forwarding rules so that local messages aren't delayed.

look at the queue() object for parameters for the main queue (v7+ required, it may be possible on earlier versions, but you really want to be running a current version on a forwarder like this)

It seems that  the incoming and outgoing queues are loosely coupled and so I 
lose a lot of log entries. I fear that this does not work.  Am I right?

I'm not sure what you mean by this statement, please clarify.

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.

Reply via email to