The main module of logalyzer with the la entry point.

Parses your bloated HTTP access logs to extract the info you want about hits from (hopefully) real people instead of just the endless stream of hackers and bots that passes for web traffic nowadays. Stores the info in a relational database where you can access it using all the power of SQL.

Using the database whose URL is supplied as the first argument, analyzes the log files in the directory, the current one or one specified as a second argument.

All records from IP addresses with bot behavior will be purged.

WARNING: If any of your bot-detecting rules that purge IP addresses (bot, ref) match innocent search engines, e.g., with a url match to '/robots.txt', don't use the saved list (--save) to block access to your web server!

Function analyze Undocumented
Class RuleReader I read rule files
Class Recorder I load records from a Reader and update a database with them.
Function run Undocumented
def analyze(event):
Undocumented
def run():
Undocumented
API Documentation for logalyzer, generated by pydoctor at 2021-09-18 08:41:09.