summaryrefslogtreecommitdiffstats
path: root/fluent-bit/tests/runtime_shell/conf/in_expect_base.conf
blob: 760b47d53153cd91085ef70fd6f637c5cdb2173c (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
26
27
28
[SERVICE]
    Flush        1
    Grace        1
    Log_Level    error
    Parsers_File ${FLB_ROOT}/conf/parsers.conf

[INPUT]
    name         dummy
    samples      1

[OUTPUT]
    name         file
    match        dummy.*
    file         ${SIGNAL_FILE_PATH}
    mkdir        on

[FILTER]
    Name         expect
    Match        target_input
    Log_Level    debug
    # Rules
    key_exists   $message
    key_val_eq   $message Hello!
    action       exit

[OUTPUT]
    Name         exit
    Match        target_input