A log analyser that turns raw web server logs into a defensible audience figure. The work is almost entirely in the subtraction: declared crawlers, vulnerability scanners probing for software the site does not run, 404s, requests for file types the site has never served, and clients that fetch a page but never fetch a single stylesheet or image — which is to say, not browsers.
That last filter is the big one. On one site it removed 74% of the apparent visitors. The first honest run took a claimed 72,681 page views down to 2,531, and the number that came out the other side is one you can actually quote at somebody.
| Input | Apache access logs |
|---|---|
| Filters | Crawlers, probes, 404s, non-browser clients, impossible file types |
| Runs | Hourly, per site, from cron |
| Output | JSON for the admin panel |
Nothing here yet. Drop images or video into
/projects/rs1/modules/rs1-visitors/media/ and they appear on this page at the
next build — or list them in module.json with captions
to control the order and the wording.
Not published yet. Code for this module will live in
/projects/rs1/modules/rs1-visitors/ alongside its module.json, and
gets listed here once it does.