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
Written by Matthew Finlayson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#bash
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#