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 >> > > _______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
