Excluding url's from varnishhist

Tollef Fog Heen tfheen at redpill-linpro.com
Thu Oct 8 10:36:05 CEST 2009

]] Paul Dowman 

| Hi,
| I'm having trouble figuring out how to exclude certain URL's from
| varnishhist. I want to exclude static files, e.g. urls that match a pattern
| like /\.png|\.gif|\.js|\.css|\.ico/ (because these don't cause much load on
| the back-end, I want to see only the requests that would hit my app
| servers).
| I know about the -X regex argument, but it doesn't seem to do what I want.
| Actually I don't really understand what it does, the man page says that it
| excludes "log entries" that match a pattern, but as far as I can tell it
| doesn't match URL's.
| What's the right way to do this?

There's currently no way to do this, I'm afraid.  varnishtop -b -i TxURL
gives you the URLs, but not any timing information.

Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73

More information about the varnish-misc mailing list