Skip to content
Discussion options

You must be logged in to vote

This output is not really json and there is no function we provide that would support this natively. The good news is that you can configure HAProxy 3.0+ to output actual json by using the %{+json}o prefix in log-format. Look for +json in this article https://www.haproxy.com/blog/encoding-haproxy-logs-in-machine-readable-json-or-cbor. You should be able to use parse_json after this is properly configured

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@olivermussell
Comment options

Answer selected by thomasqueirozb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants