IIS Log User-Agent Extractor
Description
Simple Visual Basic utility to aid with extracting a complete list of all user-agents from a set of IIS log files,
capable of auto-detecting the field layout, scanning through all available logs and then constructing a list which
includes the user-agent string, the first and last times the UA made a request, the highest and lowest TCP/IP
addresses this UA has ever been seen on and the total number of requests made. Output format can include a simplified
text output or the full detail XML output.
This program was written to allow a list of all user-agent strings encountered in a set of IIS logs to be generated
for testing purposes, also the level of additional information allows at-a-glance analysis of where a particular
user-agent originates from and the number / frequency of visits.
As the logs are processed the utility assembles the various user-agent profiles in memory, allowing it to quickly
search through and update each profile as it encounters a new request from the particular user-agent. Finally once
all the processing is complete the profiles are sorted before being output.
Requirements
- Visual Basic 6 (IDE or Runtime)
- Website log files in W3C extended log format
Single Compressed Download
Installation & Setup
-
Unpack the zip file into a single directory.
User Guide
Simply run the program, either through the compiled application provided or as VB source code through the Visual
Basic IDE. Browse to the location where your log files are stored, once you are ready from the "File"
menu choose "Run" or press CTRL+R. Once completed the selected IIS website log files will be processed
and a report will be created in your chosen format (either XML data or a simplified text format).