[squid-users] [contrib]: multi host log split script

From: Che Dong <[email protected]>
Date: Sun, 1 Jun 2003 01:22:57 +0800

Hi All:
Thanks to Dan for apache combined log patch:
http://www.squid-cache.org/mail-archive/squid-dev/200301/0164.html

I test it with squid Stable2. and I found some host alias need trim in the request url field:
I wrote this script for convert "GET http://localhost:8000/index.html => "GET /index.html for fully compatable with other log analysers.
if using squid at reverse proxy cache for multi domains, it can split log files into multi logs according to domain config:

usage: ./split_squid_log.pl [options]
    -h: print this help
    -c: [config_file]
    -i: [input squid log file]
    example: ./split_squid_log.pl -c split.conf -i access.log

Regards

Che, Dong
http://www.chedong.com/

Received on Sat May 31 2003 - 11:23:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:08 MST