summaryrefslogtreecommitdiffstats
path: root/fluent-bit/conf/rate_limit.conf
blob: 9fdc8311e2cbaa340fa0a266a3be84d9c8d452ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 *