Hi there,
I have a small python script project that will parse apache log files.
apache log file same content:
[login to view URL] - - [05/Feb/2012:17:11:55 +0000] "GET / HTTP/1.1" 200 140 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.5 Safari/535.19"
Sample:
That will show
1) total requests (Code 200)
2) total requests starting with IP 24.43.x.x
3) total requests for [login to view URL]
4) total failed requests (Codes 404, 400 )
5) total invalid requests for [login to view URL]
6) List the filenames for failed requests for files in directory /u01/app/data
Easy project for someone who knows python/regular expressions well