summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/tests/runtime_shell/conf/in_dummy_expect.conf
blob: 1b72d64e82e042cc9c4784d7acac0900fdfda17d (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
    Grace      2
    Log_Level  info

[INPUT]
    Name       dummy
    Dummy      {"r1": "someval", "s1": {"s2": null}, "r2": {"x": 0}}
    Samples    1

[FILTER]
    Name                 expect
    Match                *
    Log_Level            debug
    # Rules
    key_exists           $r1
    key_not_exists       $r0
    key_val_is_null      $s1['s2']
    key_val_is_not_null  $r2['x']
    key_val_eq           $r1 someval
    action               exit

[OUTPUT]
    Name  exit
    Match *