Re: [squid-users] user monitoring???

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 07 Nov 2002 15:56:53 +0100

tor 2002-11-07 klockan 14.48 skrev dumpmail@gmx.net:

> 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?

First you must have your Squid configured for authentication. If you
have authentication enabled then the user names will be printed in the
first column ($8, or the eith column in Squid access.log).

  $8 = user
  $3 = IP
  $4 = Squid status (TCP_MISS/HIT/...)
  $8 = URL

Without authentication configured Squid does not know the users login
name, and will print a '-'.

Regards
Henrik Nordström
Received on Thu Nov 07 2002 - 07:56:13 MST

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