If you don't specify anything, the default is used.

code trumps documentation, documentation trumps comments on the mailing list :-)

David Lang

On Tue, 29 May 2018, rsyslog--- via rsyslog wrote:

Just trying to understand, this page 
https://www.rsyslog.com/doc/master/rainerscript/queue_parameters.html says for 
example:
queue.highwatermark number  .... default 90% of queue size.
The queue .size default is 1000.  So, if you don't specify queue.highwatermark 
does the default kick in? If not, how do you get a queue.highwatermark  default 
of 90%?

On Tue, May 29, 2018, at 3:39 PM, David Lang wrote:
you really should switch to using the action() style syntax for anything
complex
like this. This old format of multiple lines that affect the next action
is very
confusing to understand.

The current documentation should list the default values (the watermark
functionality is disabled by default)

David Lang

On Tue, 29 May 2018, rsyslog--- via rsyslog wrote:

Date: Tue, 29 May 2018 15:34:54 -0600
From: rsyslog--- via rsyslog <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [rsyslog] Queue Directives Help

I have the following setup that I want to use (on RH 6 and 7)to  stop the 
system from slowing and/or hitting performance issues if:
1. Remote TCP logs server is down or not present for a extended time
2. The disk queue happens to fill up and can no longer write to disk for some 
reason ( $ActionQueueTimeoutEnqueue 0)

$WorkDirectory /var/log
$ActionQueueFileName srv1
$ActionQueueMaxDiskSpace 1g
$ActionQueueTimeoutEnqueue 0
$ActionQueueSaveOnShutdown on
$ActionResumeRetryCount -1
*.* @@192.168.1.113:6.14

A few questions.  Looking at various examples, it seems that some specify  the 
following as well:

$ActionQueueSize 1000 # Default?
#When the disk queue comes into play
$ActionQueueLowWaterMark 2000
$ActionQueueHighWaterMark 8000
# discard messages
$ActionQueueDiscardMark 9750 # Default

I've looked at the explanation on queues at th rsyslog site
(http://www.rsyslog.com/doc/v8-stable/concepts/queues.html) and I'm inclined I
do not need to specify these directives, but I was wondering how these items
are handled if they are not explicitly specified? Are there default values
assigned? _______________________________________________ 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.

_______________________________________________
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.

_______________________________________________
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