varnishncsa filtering?
Lars Jørgensen
lajo at kb.dk
Fri Jun 17 14:55:14 CEST 2011
Hi Simon,
Try
$ varnishncsa -d | grep \/
Lars
-----Original Message-----
From: varnish-misc-bounces at varnish-cache.org [mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of Simon Lyall
Sent: Friday, June 17, 2011 8:36 AM
To: varnish-misc at varnish-cache.org
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
varnish-misc at varnish-cache.org
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
More information about the varnish-misc
mailing list