------ Originalnachricht ------
Von: "Aleksandar Lazic" <al-hapr...@none.at>
An: "haproxy" <haproxy@formilux.org>
Gesendet: 01.12.2017 12:59:34
Betreff: Question to halog

Hi all.

I have the following log line and want to parse it with the halog tool.

'2017-12-01T12:12:35+01:00 localhost haproxy[14]: 1.2.3.4:55866 [01/Dec/2017:12:12:02.628] public be_01/server_01 0/0/2/32379/32381 500 969 - - ---- 9/9/2/3/0 0/0 "POST /PATH/Service HTTP/1.1"' |./halog -H

I always get a parsing error.
I tried also to skip some fields '-s 5' but still parsing errors.

Answer to my self.

./halog - H -s -1 -e -u

The default skipfield is 5, this line tells halog to start at field 4

Sorry for the rush

It's halog tool from haproxy 1.5.19

This is a logline from a rsyslog with omstdout module.

Thanks for any help.

Regards
Aleks




Reply via email to