Re: Capture sequencing in logs

2015-07-31 Thread Baptiste
In 1.6, %[query] should do the trick. Baptiste On Fri, Jul 31, 2015 at 1:17 AM, Phillip Decker pdecker999+hapr...@gmail.com wrote: And it only kinda works because when there is no question mark then the field will have the uri instead of being empty... On Thu, Jul 30, 2015 at 7:12 PM,

Re: Capture sequencing in logs

2015-07-30 Thread Phillip Decker
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

Re: Capture sequencing in logs

2015-07-30 Thread Cyril Bonté
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,

Re: Capture sequencing in logs

2015-07-30 Thread Phillip Decker
And it only kinda works because when there is no question mark then the field will have the uri instead of being empty... On Thu, Jul 30, 2015 at 7:12 PM, Phillip Decker pdecker999+hapr...@gmail.com wrote: Funny, yeah I was just playing with it and couldn't get that to work, so I just did

Re: Capture sequencing in logs

2015-07-30 Thread Cyril Bonté
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

Re: Capture sequencing in logs

2015-07-06 Thread Nenad Merdanovic
Hello Philip On 7/6/2015 9:47 PM, Phillip Decker wrote: Hello again all, I have a configuration problem, and I have a workaround that I don't like, so I'm hoping someone here might have a better solution - I have a number of capture fields such as ssl_c_s_dn, request header referrer,

Re: Capture sequencing in logs

2015-07-06 Thread Phillip Decker
Hi Nenad, thanks for the reply! Okay, insofar as the first link - I can see where I can retrieve captures for use in acls or elsewhere, but is there a way to use these directly in the custom log format ( http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#8.2.4 )? Being able to

Re: Capture sequencing in logs

2015-07-06 Thread Nenad Merdanovic
Hello Phillip, First, let me apologize for misspelling your name the first time. On 7/6/2015 10:46 PM, Phillip Decker wrote: Hi Nenad, thanks for the reply! Okay, insofar as the first link - I can see where I can retrieve captures for use in acls or elsewhere, but is there a way to use

Re: Capture sequencing in logs

2015-07-06 Thread Phillip Decker
Nenad, thank you so much for your help; I was able to run that successfully on a test instance, I think that may fix the majority of my issue! Thanks again, Phillip On Mon, Jul 6, 2015 at 4:55 PM, Nenad Merdanovic ni...@nimzo.info wrote: Hello Phillip, First, let me apologize for

Capture sequencing in logs

2015-07-06 Thread Phillip Decker
Hello again all, I have a configuration problem, and I have a workaround that I don't like, so I'm hoping someone here might have a better solution - I have a number of capture fields such as ssl_c_s_dn, request header referrer, request header X-Forwarded-For, etc that get logged using %hr,