varnishlog and multiple tags?
Chris Hecker
checker at d6.com
Fri Jul 16 22:10:44 CEST 2010
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