diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/conf/parsers_kafka.conf | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/conf/parsers_kafka.conf')
-rw-r--r-- | src/fluent-bit/conf/parsers_kafka.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fluent-bit/conf/parsers_kafka.conf b/src/fluent-bit/conf/parsers_kafka.conf new file mode 100644 index 000000000..db4384a61 --- /dev/null +++ b/src/fluent-bit/conf/parsers_kafka.conf @@ -0,0 +1,16 @@ +[PARSER] + # Confluent Schema Registry 7.1.1 default format + Name confluent-schema-registry + Format regex + Time_Key time + Time_Format %Y-%m-%d %H:%M:%S,%L + Regex ^\[(?<time>\d{4}-\d{1,2}-\d{1,2} \d{2}:\d{2}:\d{2},\d{1,4})] (?<level>[A-Z]{1,8}) (?<src>[\d.]+) - - \[(?<date>.*)] \"(?<method>[A-Z]+) (?<path>\/[\S]+|\/) (?<http_version>HTTP\/[\d]\.[\d])\" (?<code>[\d]{1,3}) (?<size>[\d]+) \"-\" \"(?<agent>.*)\" (?<extra_info>.*) + + +[PARSER] + # Confluent Schema Registry 7.1.1 default format - with _sr_ prefix to allow `nest` + Name confluent-schema-registry-prefixed + Format regex + Time_Key _sr_time + Time_Format %Y-%m-%d %H:%M:%S,%L + Regex ^\[(?<_sr_time>\d{4}-\d{1,2}-\d{1,2} \d{2}:\d{2}:\d{2},\d{1,4})] (?<_sr_level>[A-Z]{1,8}) (?<_sr_src>[\d.]+) - - \[(?<_sr_date>.*)] \"(?<_sr_method>[A-Z]+) (?<_sr_path>\/[\S]+|\/) (?<_sr_http_version>HTTP\/[\d]\.[\d])\" (?<_sr_code>[\d]{1,3}) (?<_sr_size>[\d]+) \"-\" \"(?<_sr_agent>.*)\" (?<_sr_extra_info>.*) |