From faf3e5038952634ecfe8b6bfa4f6b173a619b8f6 Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Fri, 15 Feb 2019 22:40:25 +0000 Subject: [PATCH] [201803] Set a rate limit on syslog messages from all Docker containers --- dockers/docker-base/etc/rsyslog.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dockers/docker-base/etc/rsyslog.conf b/dockers/docker-base/etc/rsyslog.conf index 8cd8928e2b14..6886dbd2e975 100644 --- a/dockers/docker-base/etc/rsyslog.conf +++ b/dockers/docker-base/etc/rsyslog.conf @@ -14,6 +14,13 @@ ################# $ModLoad imuxsock # provides support for local system logging + +# +# Set a rate limit on messages from the container +# +$SystemLogRateLimitInterval 300 +$SystemLogRateLimitBurst 10000 + #$ModLoad imklog # provides kernel logging support #$ModLoad immark # provides --MARK-- message capability