<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 07/16/2010 08:00 AM, Chris Hecker wrote:<br>
<span style="white-space: pre;">> <br>
> varnishlog -i TxUrl is really useful, but I'd also like it to<br>
> output the TxHeader Host: entry, since I'm using varnish for<br>
> multiple sites. Is that possible with the -i, -I, and -o
options?<br>
> I couldn't figure it out, if so.</span><br>
<br>
<br>
Hi Chris,<br>
<br>
Try with awk or perl regexp.<br>
<br>
varnishlog -o |awk 'BEGIN { FS="n"; RS=""} {if<br>
(/RxURL.*\/imgs\/aba_frente_esq\.jpg/) print }'<br>
<br>
<br>
hope this helps<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAkxAtxUACgkQNRQApncg294JdwCgs9p9poidxfcGefjOJ+lW7ETv<br>
oi8AoIyTmJ0djy1Dn7QFY58605KubxWb<br>
=R8EV<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>