This tool is freeware and Open Source. You can use or modify it as you want. We would be pleased if you send your improvements back to java@hawlitzek-consulting.de
The package de.hawlitzek.logparser contains the parsing classes. If you want to add other log formats (I'm just using the one from my provider) or additional statistics, you can extend the given classes.
Most important is the class LogEntry which represents one line in the http log. It parses the line into the fields for date, ip address, referrer etc. It also provides functionality to filter log entries by type, occurring names and search engines.
We provided two parser classes: The first one, FHBrowserAnalyzingHttpLogParser, is a very simple log analyzer which only counts how many request come from a browser or search robot. The second one, FHDetailHttpLogParser, provides more statistics and filters.
There is another package named de.hawlitzek.logparser.gui which contains a graphical user interface for FHDetailHttpLogParser. It is generated with IBM VisualAge for Java. Please do not manually change this, but write me an email (java@hawlitzek-consulting.de), because manual changes could be overwritten by the generator. We provided the gui in two languages: English and German. If want to
add additional languages, just translate the file logparsergui.properties to your language, rename it according to the ressource naming standard, e.g. logparsergui_it_IT.properties and add it to the jar file.
|