Varnish log commands

Varnish log save into log file:
sudo varnishlog -cw access.log

Varnish log read:
varnishlog -r access.log

View user-agent in realtime :
varnishtop -C -I ReqHeader:User-Agent

View user ip in realtime:
varnishtop -C -I ReqHeader:X-real-ip

View request URL in realtime:
varnishtop -C -I ReqURL

View request detail information filtered by specific URL:
varnishlog -q “ReqURL ~ ‘^/directory'”