varnishlog and multiple tags?
Ken Brownfield
kb+varnish at slide.com
Fri Jul 16 22:31:39 CEST 2010
varnishlog -i TxURL,TxHeader -I '(TxURL|Host:)'
:-)
--
Ken
On Jul 16, 2010, at 1:10 PM, Chris Hecker wrote:
>
> This appears to be doing the trick:
>
> varnishlog -b -i txurl,txheader | grep -i -E "(txurl|host:)"
>
> Thanks,
> Chris
>
> On 2010/07/16 13:06, Chris Hecker wrote:
>>
>> Ah, cool. But then how do I filter on the Host: but just on the
>> txrequest part? Or I guess I could just pipe to grep at this point.
>>
>> Chris
>>
>> On 2010/07/16 12:37, Ken Brownfield wrote:
>>> varnishlog -i TxURL,TxHeader
>>
>>
>> On Jul 16, 2010, at 4:00 AM, Chris Hecker wrote:
>> > >
>> > > varnishlog -i TxUrl is really useful, but I'd also like it to
>> output the TxHeader Host: entry, since I'm using varnish for multiple
>> sites. Is that possible with the -i, -I, and -o options? I couldn't
>> figure it out, if so.
>> > >
>> > > Thanks,
>> > > Chris
>> > >
More information about the varnish-misc
mailing list