Karl Rixon

Archive for the ‘Python’ Category

GTK Apache Log File Parser Written in Python

without comments

I needed to parse sets of large apache logfiles with the ability to filter results based on HTTP status code as well as URL regular expressions. Being primarily a PHP programmer my first instinct was to build this as a web based application, however I soon realised that PHP would just be far too slow when parsing large (multiple GB) files. Instead I decided to write the program as a traditional desktop application using python and GTK, utilising threads to keep it speedy and responsive. If you have any use for the program, you can download it here.

It should run on any OS assuming you have python and the GTK libraries installed. There’s no need to install, simply unzip and run parserGUI.py.

Screenshots:

Written by Karl

October 26th, 2010 at 9:57 am

Posted in Python