Re: [squid-users] script to separate the logs per user basis

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 25 Feb 2005 00:15:50 +0100 (CET)

On Thu, 24 Feb 2005, Tim Neto wrote:

> PERL, AWK, pHp, JAVA, C...
>
> Pick your weapon.
>
> I'm using AWK as my parser of the logs.

AWK is undoubtedly the best fitting tool for this specific question.

awk '{print >> $8 "access.log"}'

Regards
Henrik
Received on Thu Feb 24 2005 - 16:15:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST