AnalyseIISLogs /

Filename Size Date modified Message
29 B
12.9 KB
9.9 KB
9.5 KB
1.7 KB


Take a standard IIS Log file and produce lots of analysis from it.

Not yet as general as it could but still may prove helpful to some .

Currently assumes a W3C format log.

Logo used under : courtesy of



How to run

D:\src\python\AnalyseIISLogs>python -i "D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311\in140311.log" -o ""D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311"

Sample output from

About to start loop
Max : 171
Min : 1
Mean : 28.7239263804
StdDev : 0.279641499332

Finished Analysis of : D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311\in140311.log
Written output of Errors with code 500 to : D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311\in140311-ERR500.log
Written output of Errors with code other than 500 to : D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311\in140311-ERRNot500.log
Written caching analysis to : D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311\in140311-CachingAnalysis.log
Written IP analysis to : D:\src\python\AnalyseIISLogs\data\MSD-IIS-Logs-20140311\in140311-IPAddress.log

cnt_reject_for_time: 1
cnt_good: 4626
cnt_bad_500: 38
cnt_bad_not_500: 17
cnt_total: 4682

pylint template

D:\src\python\AnalyseIISLogs>pylint -f html  -r y --const-rgx='[a-z_][a-z0-9_]{2,30}$' --msg-template="{line} {msg_id}({symbol}) {obj} {msg}" > test.html

pep8 template