Logging Filter by request host header varnishlog -q 'ReqHeader ~ "Host: example.com"' Filter by request url varnishlog -q 'ReqURL ~ "^/some/path"' Filter by client IP (behind reverse proxy) varnishlog -q 'ReqHeader ~ "X-Real-IP: .*123.123.123.123"' Filter by request host header and show request URL and referrer header varnishlog -q 'ReqHeader ~ "Host: (www\.)?example\.com"' -i "ReqURL" -I "ReqHeader:Referrer:" Admin Purge Cache varnishadm 'ban req.url ~ "^/some/path/"' Show VCLs varnishadm vcl.list Show backends varnishadm backend.list