James
Storage is cool
I'd like to write a gawk (or whatever) script to parse a web server log file and produce a very basic report once a month.
The program would go through the log and extract all the lines which show a PDF file being downloaded. Then delete any GETs from 2 specific IP addresses. Finally, it would then produce a count for each PDF file downloaded - ie. /full/path/to/pdffile.pdf - downloaded 1455 times this month.
Or a preconfigured Analog config file, whatever, I'm not fussy. The log file is from an MS IIS box and is about 400MB long per month.
TIA!
The program would go through the log and extract all the lines which show a PDF file being downloaded. Then delete any GETs from 2 specific IP addresses. Finally, it would then produce a count for each PDF file downloaded - ie. /full/path/to/pdffile.pdf - downloaded 1455 times this month.
Or a preconfigured Analog config file, whatever, I'm not fussy. The log file is from an MS IIS box and is about 400MB long per month.
TIA!