Re: Using Extnded Common Log Format

Mark Avnet (mavnet@banta-im.com)
Wed, 30 Jun 1999 13:29:33 -0400


Joi Ellis wrote:
> 
> On Wed, 30 Jun 1999, Mark Avnet wrote:
> 
> > ($host, $rfc931, $authuser, $timestamp, $request, $status, $bytes) =
> >             /^(\S+) (\S+) (\S+) \[([^\]]*)\] \"([^"]*)\" (\S+) (\S+)/;
> >
> > my new linw for parsing the extended log format is:
> >
> >      ($host, $rfc931, $authuser, $timestamp, $request, $status, $bytes,
> > $ref,
> >  $null1, $null2, $browser, $platform) =
> >             /^(\S+) (\S+) (\S+) \[([^\]]*)\] \"([^"]*)\" (\S+) (\S+)
> > \"([^"]*)\ (\S+) (\S+) (\S+) (\S+)/;
>             "
> 
> Are you missing that ending quote?
> 
> > \"([^"]*)\" (\S+) (\S+) (\S+) (\S+)/;
>             ^---
> --
> Joi Ellis                   joi.ellis@cdc.com
> Outsourcing Solutions
> Control Data Systems        gyles19@visi.com, http://www.visi.com/~gyles19/
> 
> No matter what we think of Linux versus FreeBSD, etc., the one thing I
> really like about Linux is that it has Microsoft worried.  Anything
> that kicks a monopoly in the pants has got to be good for something.
>               - Chris Johnson
Apparently I was missing the quote.  Thanks you.  Unfortunately, putting
it in did not change anything.  I am still getting all zeros for my
results.