diff options
Diffstat (limited to 'src/fluent-bit/conf/rate_limit.conf')
-rw-r--r-- | src/fluent-bit/conf/rate_limit.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/fluent-bit/conf/rate_limit.conf b/src/fluent-bit/conf/rate_limit.conf new file mode 100644 index 000000000..9fdc8311e --- /dev/null +++ b/src/fluent-bit/conf/rate_limit.conf @@ -0,0 +1,25 @@ +[SERVICE] + Flush 1 + Daemon Off + Log_Level info + Parsers_File parsers.conf + +[INPUT] + Name tail + Path /var/log/containers/*.log + Parser docker + Tag kube.* + Mem_Buf_Limit 5MB + +[FILTER] + Name kubernetes + Match kube.* +# This filter calls the rate limit script +[FILTER] + Name lua + Match kube.* + script rate_limit.lua + call rate_limit +[OUTPUT] + Name stdout + Match *
\ No newline at end of file |