Skip to content

Commit

Permalink
Set a rate limit on syslog messages from all Docker containers (#2573)
Browse files Browse the repository at this point in the history
Rate limiting at 20,000 messages per 5-minute interval
  • Loading branch information
jleveque authored Mar 4, 2019
1 parent e4bb1fc commit 3d56e26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dockers/docker-base-stretch/etc/rsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
#################

$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 immark # provides --MARK-- message capability

Expand Down
7 changes: 7 additions & 0 deletions dockers/docker-base/etc/rsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
#################

$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 immark # provides --MARK-- message capability

Expand Down

0 comments on commit 3d56e26

Please sign in to comment.