Analog

From ConShell
Jump to navigation Jump to search

Analog is another web log analysis tool to produce reports about your page views, hits, search terms and so on.

It is much faster than Awstats but does not retain old data (accumulation) so each run potentially overwrites the old report.

Here is what I typically set in /etc/analog.cfg

LOGFILE /usr/local/apache/logs/2002-07/20020731.access.log.gz
DNSFILE /tmp/dnsfile.txt
DNS WRITE
DNSLOCKFILE /tmp/dnslock.txt
DNSGOODHOURS 672
DOMAIN ON
HOST ON

After that, just run analog to get a report to STDOUT.

Or, better yet, define this value in analog.cfg to get the HTML report as a file.

OUTFILE /var/www/analog/index.html