visitors apache log analyzer

It’s irritating but there’s still no great solution for analyzing Apache log files. webalizer and analog both suck. One nice lightweight tool is visitors; it’s simple, fast, and mostly stateless. sample output, sample usage:

grep tweetchive /var/log/apache2/access.log{,-20120715} |
visitors -A -r 100 /dev/stdin
>| tweetchive.html

(cat /var/log/apache2/access.log{,-20120715};
  zcat /var/log/apache2/access.log*gz) |
visitors -A -r 100 -p 100 --prefix --prefix /dev/stdin
>| vis.html

# 4432363 lines processed in 41 seconds

Here’s some six years of weblog traffic. The breakdown reports are surprisingly uninteresting. I did learn my top Google search phrases: [chiller], [python xpath], [bash read], [spidermangame], [nelson minar], [bash read command]. I could make an SEO fortune!

2 thoughts on “visitors apache log analyzer

  1. have you tried summary, ? i used it for a few years, and it was pretty good and very fast. the business model is also an old school breath of fresh air: you pay for it, download it, and run it on your own machine. no ads, no cloud/hosted web interface, and no ongoing subscription.

Comments are closed.