Skip to content

T0aD/pyawstats

Repository files navigation

pyawstats

Prototype of awstats replacement in Python (collect and generate graphs from Apache logs)

Quick start

First generate the geoip.sqlite database of countries:

$ ./start_geoip.sh

Then test it:

$ ./geoip.py 207.97.227.239
country: United States code: US

Basic parser is in parser.py, happy reading !

Reorder log file per day

$ ./wsorter.py ./logs/final/2012/01/

This will create the directory ./logs/final/2012/01-new/ with the merged logs...

About

Prototype of awstats replacement in Python (collect and generate graphs from Apache logs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published