summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/tests/runtime_shell/conf/in_tail_expect.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/tests/runtime_shell/conf/in_tail_expect.conf')
-rw-r--r--src/fluent-bit/tests/runtime_shell/conf/in_tail_expect.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/fluent-bit/tests/runtime_shell/conf/in_tail_expect.conf b/src/fluent-bit/tests/runtime_shell/conf/in_tail_expect.conf
new file mode 100644
index 000000000..7348bacc0
--- /dev/null
+++ b/src/fluent-bit/tests/runtime_shell/conf/in_tail_expect.conf
@@ -0,0 +1,38 @@
+[SERVICE]
+ Flush 1
+ Grace 2
+ Log_Level info
+ Parsers_File ${FLB_ROOT}/conf/parsers.conf
+
+[INPUT]
+ name tail
+ path /tmp/flb_tail_expect*.log
+ exclude_path /tmp/flb_*2.log
+ read_from_head true
+ parser json
+ refresh_interval 10
+ rotate_wait 1
+ docker_mode false
+ docker_mode_flush 4
+ path_key path_key
+ ignore_older 0
+ buffer_chunk_size 32k
+ buffer_max_size 32k
+ skip_long_lines false
+ exit_on_eof false
+ db /tmp/flb_tail_expect.db
+ db.sync full
+
+[FILTER]
+ Name expect
+ Match *
+ Log_Level debug
+ # Rules
+ key_exists $path_key
+ key_val_eq $path_key /tmp/flb_tail_expect_1.log
+ key_not_exists $nokey
+ action exit
+
+[OUTPUT]
+ Name exit
+ Match *