mnot/squidpeek — Issue #1: Support URL rewrites
Author: plambert
Created: 2012-01-13 20:58:04+00:00
State: open

ideally, a config file with regular expression substitution-based rewrites would be awesome.

For example, a regex could replace UUIDs in URL paths with a placeholder like "[[UUID]]" so REST requests are aggregated together.

Another often-convenient one is simply s/\d+/[[DIGIT]]/g so that any numbers in the URLs are collapsed to a single token.

In addition, double-bracketed slugs could be converted to spans in the HTML output with CSS for a pretty text "slug." So a UUID replaced with [[UUID]] would stand out in the HTML output as not being part of the original URL.