varnishncsa filtering?

Simon Lyall simon at darkmere.gen.nz
Fri Jun 17 08:36:16 CEST 2011


Using 2.1.5 ( thought I'd wait a little while before trying 3.0.0 )

I'm trying to write a little regex to look for a certain part of the URL 
but nothing seems to work.

$ varnishncsa -d -I /

$ varnishncsa -d | grep -c /
29701

$ varnishncsa -d | grep -c js
1295

$ varnishncsa -d -I js


$ varnishncsa -d -I 6666
202.180.67.113 - - [17/Jun/2011:18:31:24 +1200] "(null) (null) (null)" (null) - "-" "-"
118.93.33.248 - - [17/Jun/2011:18:31:49 +1200] "(null) (null) (null)" (null) - "-" "-"
222.154.227.11 - - [17/Jun/2011:18:32:17 +1200] "(null) (null) (null)" (null) - "-" "-"
202.124.109.104 - - [17/Jun/2011:18:32:44 +1200] "(null) (null) (null)" (null) - "-" "-"
203.109.207.17 - - [17/Jun/2011:18:33:08 +1200] "(null) (null) (null)" (null) - "-" "-"

What am I missing?


-- 
Simon Lyall  |  Very Busy  |  Web: http://www.darkmere.gen.nz/
"To stay awake all night adds a day to your life" - Stilgar | eMT.





More information about the varnish-misc mailing list