summaryrefslogtreecommitdiffstats
path: root/fluent-bit/conf/rate_limit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/conf/rate_limit.conf')
-rw-r--r--fluent-bit/conf/rate_limit.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/fluent-bit/conf/rate_limit.conf b/fluent-bit/conf/rate_limit.conf
new file mode 100644
index 000000000..9fdc8311e
--- /dev/null
+++ b/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