On 31/07/2015 00:14, Cyril Bonté wrote:
Hi Phillip,
On 31/07/2015 00:05, Phillip Decker wrote:
One other log question in this same vein -
I'm trying to duplicate the functionality of the %q flag in Apache, and
I don't see a way in the documentation to print _only_ the query string,
that is, the information after the question mark in a URI. I see the
URI without the query (path), the full URI, and looking up specific
parameters in the URI... am I missing an obvious flag somewhere?
This is only available in 1.6 development branch :
http://cbonte.github.io/haproxy-dconv/configuration-1.6.html#query
Oops, I replied too quickly, as such HTTP sample fetches are not
available in log-format.
Maybe we can discuss adding a %HQ (or %HQS) log variable in the future ?
--
Cyril Bonté