$8 $3 $4 $7 represents the fields from access.log separated by spaces.
open access.log and check out in which column falls the fields you want
to display. in my case, username is at the 8th column. username will be
there if you use proxy authentication.
-jun
Rick Matthews wrote:
> The login name is the first item listed using:
> tail -f access.log | awk '{print $8,$3,$4,$7}'
>
> It must not be in access.log if you aren't seeing it.
>
> Rick
>
>
>
>>-----Original Message-----
>>From: dumpmail@gmx.net [mailto:dumpmail@gmx.net]
>>Sent: Thursday, November 07, 2002 7:49 AM
>>To: squid-users@squid-cache.org
>>Subject: [squid-users] user monitoring???
>>
>>
>>Hi,
>>
>> how can i monitor the USERNAMES + IPS + URLS currently active on
>> the quid proxy?
>>
>> IPs and URLs work with the expression
>>
>> tail -f access.log | awk '{print $8,$3,$4,$7}'
>>
>> posted a few days ago.
>>
>> how can i add the login names?
>>
>>--
>>Regards,
>>Thomas Schend
>>dumpmail@gmx.net mailto:dumpmail@gmx.net
>>
>>
>
Received on Thu Nov 07 2002 - 18:04:50 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:13 MST