see host header in varnishlog v4
Dridi Boukelmoune
dridi at varni.sh
Mon Sep 28 08:22:14 CEST 2015
On Mon, Sep 28, 2015 at 5:27 AM, Tim Dunphy <bluethundr at gmail.com> 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"'
> 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
More information about the varnish-misc
mailing list