Hi Tim, On Mon 28 Sep 2015 08:22:14, Dridi Boukelmoune wrote: > On Mon, Sep 28, 2015 at 5:27 AM, Tim Dunphy <[email protected]> wrote: > > Hey all, > > > > I'm trying to figure out how to see the host header in varnishlog. > > > > I tried this combination but it didn't really work for me: > > > > varnishlog -q 'RxHheader ~ "Host: wiki.example.com"'
# Varnish version varnishd (varnish-4.0.3 revision b8c4a34) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 Varnish Software AS you can do this shell> varnishlog -I ReqHeader:[Hh]ost which will show all occurences of ReqHeader matching [Hh]ost regex. See man varnishlog for more info > > Query expression error: > > Tag name matches zero tags (Pos 1) > > RxHheader ~ "Host: wiki.example.com" > > #########----------------------------- > > > > Can someone please fill me in on the correct way to do this? > > Hi Tim, > > The tag you are looking for is ReqHeader, see `man vsl` for the > comprehensive list. > > Cheers, > Dridi > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc -- Regards Viktor Villafuerte Optus Internet Engineering t: +61 2 80825265 _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
