In rsyslog 5.7.1 we introduced rate limiting. This is a option for the Unix Socket Input module called imuxsock. In short, this option limits the amount of messages written into logfiles by a process, if the process tries to write huge amounts of messages in a short period of time.
This article will show you how to disable rsyslog rate-limiting, But You can also use rate-limiting according to your requirement.