Set a rate limit on syslog messages from all Docker containers (#2573)

Rate limiting at 20,000 messages per 5-minute interval
This commit is contained in:
Joe LeVeque 2019-03-04 11:46:48 -08:00 committed by GitHub
parent e4bb1fcdf2
commit 3d56e26aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,13 @@
################# #################
$ModLoad imuxsock # provides support for local system logging $ModLoad imuxsock # provides support for local system logging
#
# Set a rate limit on messages from the container
#
$SystemLogRateLimitInterval 300
$SystemLogRateLimitBurst 20000
#$ModLoad imklog # provides kernel logging support #$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability #$ModLoad immark # provides --MARK-- message capability

View File

@ -14,6 +14,13 @@
################# #################
$ModLoad imuxsock # provides support for local system logging $ModLoad imuxsock # provides support for local system logging
#
# Set a rate limit on messages from the container
#
$SystemLogRateLimitInterval 300
$SystemLogRateLimitBurst 20000
#$ModLoad imklog # provides kernel logging support #$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability #$ModLoad immark # provides --MARK-- message capability