TLDR Zygimantas was facing issues parsing new haproxy logs after an upgrade. Ashish suggested using the vrl function to resolve this problem.
For example, ignore beggining of line “Nov 8 08:42:19”
is it syslog?
haproxy logs
It was working perfrctly fine until debian 12 and new haproxy veraion changed timestamp format, all older systems works for now, but newer ones not parsing it correctly, i was wondering if its possible to combine both formats to one stream
are you using vrl function to parse them
vrl documentation
Not yet, thank you
Zygimantas
Wed, 08 Nov 2023 08:44:49 UTCGood day guys, i have this kind of log, what could be best way to parse them? Already tried fluent-bit/filebeat with regexp, but is there a way to parse only parts of log? ```Nov 8 08:42:19 serverą haproxy[7832]: [127.0.0.1] http backend 4710 cD 0/0 random_id [10.10.10.10]:443```