Filtering varnishlog v4
Solution 1:
You have to use the tags described here: http://book.varnish-software.com/4.0/chapters/Examining_Varnish_Server_s_Output.html#query-language
By example:
varnishlog -n varnish-instance-name -q 'ReqURL ~ "^/search" and ReqStart ~ "^127.0.0.1"'