I want to configure rsyslog with output rate limiting. The idea is to
configure linux box as syslog relay with large disk buffer and limiting the
rate of events sent to the destination syslog from that system:

syslog clients --> syslog relay (buffering) --- (rate limiting) -->syslog
destination server

According to documentation I have configured queue.dequeueslowdown="1000".
It states "using a DequeueSlowdown delay of 1,000 microseconds on a UDP send
action ensures that no more than 1,000 messages can be sent within a
second".

Below is my config. I send the syslog messages to device that shows me
events per seconds. The value is about 4 thousands events per seconds. I
send lots of events to rsyslog server. The idea is to buffer them and send
in constant rate to destination server. From my point of view it is not
working. Any ideas?

*.* action(type="omfwd" protocol="udp" target="x.x.x.x" port="514"
        rsyslog.WorkDirectory="/tmp"
        queue.FileName="fwdRule1"
        queue.size="10000000"
        queue.MaxDiskSpace="1g"
        queue.SaveOnShutdown="on"
        queue.Type="LinkedList"
        queue.dequeueslowdown="1000"
        action.resumeRetryCount="-1"
        #action.RetryCount="-1"
)
 
MarQ



--
View this message in context: 
http://rsyslog-rsyslog-users.1305293.n2.nabble.com/Rsyslog-simple-rate-limiting-QueueDequeueSlowdown-tp7580546.html
Sent from the rsyslog -- rsyslog-users mailing list archive at Nabble.com.
_______________________________________________
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