migrating access-extract.pl from suqid 1.0.17 to 1.1.5

From: Don Rolph <w-rolph@dont-contact.us>
Date: Thu, 06 Feb 1997 13:05:38 -0500

Well, I think I finally swept the cobwebs out of my brain and have the
solution.

IN the squid-logs.pl file in the parse_common_log subroutine:

original line:

unless (/^([\d\.]+) \S+ \S+ \[([^\]]+)\] "(\w+) ([^"]+)" (\w+) (\d+)$/)

new line:

unless
 (/^([\w_\-\.]+) \S+ \S+ \[([^\]]+)\] "(\w+) ([^"]+)" ([\w:]+) (\d+)$/)

This allows the use of alpha node names (with either an embedded "_" or
"-"), and adapts for the ":" in the action section of the log entry.

Enjoy!

-- 
Regards.
Don Rolph WD3 MS10-13 (508)-236-1263
mailto:w-rolph@ds.mc.ti.com
Received on Thu Feb 06 1997 - 10:28:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:23 MST