Closed leandrojmp closed 2 years ago
Is there anything I can do to try to get it merged?
I can try to write a test based on the haproxy_spec.rb file to test the pattern if it is needed, I didn't do that before because I saw that other patterns like HAPROXYTCP
also do not have a test in the spec.
I've just merged my local branch with the current master to resolve the conflict after the directories for legacy
and ecs-v1
patterns were created and I've also created the error log pattern using the ecs fields.
Add the pattern to parse the 'error' lines from HAProxy logs.
From the documentation, besides the default http log line and tcp log line, you can also have an error log line with the following format.
This error line has the following fields.
The pattern
%{HAPROXYERROR}
will parse the above line and create two new fields in the output event,bind_name
anderror_message
, the originalmessage
field from the description above was changed toerror_message
to avoid conflict with the eventmessage
field.