Skip to content

Commit

Permalink
add screenshot and default categorizing by extension
Browse files Browse the repository at this point in the history
  • Loading branch information
josqu4red committed Apr 11, 2013
1 parent 65e22ba commit f0aa723
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ URLs from varnishncsa are categorized using custom regular expressions, based on

varnishops is written in Ruby (tested with MRI 1.9.3) and depends only on varnishncsa.

![varnishops](https://raw.github.com/Fotolia/varnishops/master/doc/varnishops.png)

## Setup

* git clone https://github.com/Fotolia/varnishops
OR
* gem install varnishops


By default, all URLs will be categorized as "other", and statistics will be computed based on the global varnish traffic
By default, URLs will be categorized based on their extensions, and statistics computed for each type.

Categories can be added by defining filters (ruby regexps). See example file in **ext/**.

Expand Down
1 change: 1 addition & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@regexs = {
/^.*\.(\w+)$/ => [1]
}
Binary file added doc/varnishops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f0aa723

Please sign in to comment.