summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/conf/parsers_kafka.conf
blob: db4384a616cf95dd9d019a5e49fd9f11a06bb3d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>.*)