Hi Simon,

Try 

$ varnishncsa -d | grep \/


Lars

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Simon Lyall
Sent: Friday, June 17, 2011 8:36 AM
To: [email protected]
Subject: varnishncsa filtering?


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.


_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to