]>
git.ipfire.org Git - thirdparty/squid.git/blob - scripts/Squid/ParseLog.pm
3 # * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
5 # * Squid software is distributed under GPLv2+ license and includes
6 # * contributions from numerous individuals and organizations.
7 # * Please see the COPYING and CONTRIBUTORS files for details.
11 # This is a simple module which takes in a Squid format logfile line and breaks it up into
14 # I'm not going to pretend this is 100% accurate just yet but its a start.
15 # I'm hoping that by placing it into the public domain it (and the other stuff
16 # I sneak in here) will be debugged and improved by others.
18 # Adrian Chadd <adrian@squid-cache.org>
20 # $Id: ParseLog.pm,v 1.1 2007/01/24 06:50:35 adrian Exp $
25 package Squid
::ParseLog
;
32 $line =~ m/^(.*?) (\d+?) (.*?) (.*?)\/(\d
+?
) (\d
+?
) (.*?
) (.*?
) (.*?
) (.*?
)\
/(.*?) (.*)$/;