From f8bf4e101bd6924a6e7db2cc46525f8e47b52c43 Mon Sep 17 00:00:00 2001 From: Hank Leininger Date: Tue, 18 Nov 2025 11:51:27 -0700 Subject: [PATCH 01/19] config_format: Add parser*.yaml references alongside parser*.conf Install parser*.yaml files alongside .conf and add commented-out references to them in other configs. Signed-off-by: Hank Leininger --- tests/internal/data/stream_processor/gen_msgpack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/internal/data/stream_processor/gen_msgpack.sh b/tests/internal/data/stream_processor/gen_msgpack.sh index 19339318576..e354bfce1d0 100755 --- a/tests/internal/data/stream_processor/gen_msgpack.sh +++ b/tests/internal/data/stream_processor/gen_msgpack.sh @@ -7,7 +7,7 @@ echo rm -rf samples.mp samples-subkeys.mp # Generate new msgpack file using as a source samples.json -../../../../build/bin/fluent-bit -R ../../../../conf/parsers.conf \ +../../../../build/bin/fluent-bit -R ../../../../conf/parsers.yaml \ -i tail -t samples -p path=samples.json -p parser=json \ -i tail -t samples-subkeys -p path=samples-subkeys.json -p parser=json \ -o file -m samples -p format=msgpack -p file=samples.mp \ @@ -31,7 +31,7 @@ rm -rf samples.mp samples-subkeys.mp # Generate new msgpack files for hopping window echo "" echo "=== Generating MessagePack file for $file ... ===" - ../../../../build/bin/fluent-bit -R ../../../../conf/parsers.conf \ + ../../../../build/bin/fluent-bit -R ../../../../conf/parsers.yaml \ -i tail -p path=$file -p parser=json \ -o file -p format=msgpack -p file=$(echo $file | sed s/json/mp/) -f 1 & pid=$! From c293b6eacddeb368e74ed08a5f749b0040712e93 Mon Sep 17 00:00:00 2001 From: Hank Leininger Date: Tue, 18 Nov 2025 12:38:46 -0700 Subject: [PATCH 02/19] conf: prune old parser*.conf files that are no longer referenced Signed-off-by: Hank Leininger --- conf/parser_custom.conf | 15 --- conf/parsers_ambassador.conf | 6 -- conf/parsers_cinder.conf | 10 -- conf/parsers_extra.conf | 172 ----------------------------------- conf/parsers_java.conf | 6 -- conf/parsers_kafka.conf | 16 ---- conf/parsers_mult.conf | 26 ------ conf/parsers_openstack.conf | 53 ----------- 8 files changed, 304 deletions(-) delete mode 100644 conf/parser_custom.conf delete mode 100644 conf/parsers_ambassador.conf delete mode 100644 conf/parsers_cinder.conf delete mode 100644 conf/parsers_extra.conf delete mode 100644 conf/parsers_java.conf delete mode 100644 conf/parsers_kafka.conf delete mode 100644 conf/parsers_mult.conf delete mode 100644 conf/parsers_openstack.conf diff --git a/conf/parser_custom.conf b/conf/parser_custom.conf deleted file mode 100644 index 63c439e085c..00000000000 --- a/conf/parser_custom.conf +++ /dev/null @@ -1,15 +0,0 @@ -[PARSER] - # https://rubular.com/r/6ZCuwV4Xa7nfA3 - Name rabbitmq - Format regex - Regex (?[^ ]+)\s(?