No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
db
scripts
src
.gitignore
README.md

README.md

django-site-stats

This app parses a webserver access-log file, and adds the basic visitor data to some models.

Visit Visitor RequestMethod StatusCode and BrowserString.

My initial need is so I can do a google map of site visitors by their ip address.

This code is initially specific to my sites' architecture, which uses lighttpd, and logs all access to /var/log/lighttpd/access.log.

The log parse method is pretty brittle and specific to lighttpd's default log formay.

But ... the code is also pretty obvious, and altering to taste should be easy enough.