You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Headers capture is configured in haproxy config with options like:
capture request header Host len 15
capture request header X-Forwarded-For len 15
capture request header Referer len 15
capture response header Content-length len 9
capture response header Location len 15
Notice that when only one type of headers is being captured it is not possible to know on default log formats if they are request or response headers. Maybe we should ignore them by default.
The text was updated successfully, but these errors were encountered:
Would it not just be simpler to document in the haproxy module the log-format you are expecting
And give us the log_format string that we can put in haproxy.cfg ?
haproxy logs don't contain captured headers by default, but current grok patterns expect them, make them optional and add test cases for them.
Some examples:
Without captured headers:
With request captured headers:
With request and response captured headers:
Headers capture is configured in haproxy config with options like:
Notice that when only one type of headers is being captured it is not possible to know on default log formats if they are request or response headers. Maybe we should ignore them by default.
The text was updated successfully, but these errors were encountered: