Looking at yesterday's log file

This is the third demonstration in a series, and we'll use caching to avoid the need for repeated analysis of the incoming files. This particular hit used generating. ("Generating" means all the work was being done, "replaying" means it's from cache). Data for 29/03/2024

This is a demonstration of the analysis of a text file and selection of data from it for display on a web page. The sample file we have used as our data source is a web access log file of some 30 Mbytes, with over 100,000 records each of which looks something like:

208.102.246.149 - - [22/May/2009:03:30:08 +0100] "GET /bing/images/WHClogoBW.jpg HTTP/1.1" 200 12344 "http://www.wellho.net/resources/ex.php4?item=j714/Strtok.java" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10"

Analysed a total of 125063 records

What Report would you like next?
Top 20 IP Address by number of visits
Hour by Hour
By Directory

Results:

Traffic levels through the day (and night!)
03 ... 4104
04 ... 4491
05 ... 4509
06 ... 5879
07 ... 6510
08 ... 5177
09 ... 6003
10 ... 5522
11 ... 6566
12 ... 5182
13 ... 4653
14 ... 4549
15 ... 5066
16 ... 5399
17 ... 6252
18 ... 5568
19 ... 5429
20 ... 5947
21 ... 5462
22 ... 5393
23 ... 5201
00 ... 4286
01 ... 4009
02 ... 3906


Copyright ... 2024

Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/a_papershow.php
See source code here • More examples - same topic here
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net