Last Updated: February 25, 2016
·
1.985K
· savagegus

Run old access logs through webalizer

If you have a bunch of old access logs that you'd like to analyze you can run them through webalizer with this one liner. Normally this is something you'd do during rotation or on a schedule rather than as a batch operation.

for obj in $(ls access*); do webalizer -p -F apache -n example.hostname.com -o /path/to/webalizer/ $obj; done