Koozali.org: home of the SME Server

Squid Access Log

Offline sgscc

  • *
  • 11
  • +0/-0
Squid Access Log
« on: July 23, 2009, 09:53:34 AM »
Hi!

Can anyone please help me in understanding what the lines of information in squid/access.log means? Here is an exerpt:

Thu Jul 23 10:46:17 2009    383 192.168.0.5 TCP_MISS/301 538 GET http://download.cnet.com/? - DIRECT/216.239.122.164 text/html
Thu Jul 23 10:46:18 2009      0 192.168.0.5 TCP_IMS_HIT/304 259 GET http://i.i.com.com/cnwk.1d/Ads/common/CatSpot/icon_download.gif - NONE/- image/gif
Thu Jul 23 15:04:09 2009  76982 192.168.0.5 TCP_MISS/200 6398 CONNECT secure.gravatar.com:443 - DIRECT/72.233.69.11 -

And also, where can I find the logs of all the cached websites?

Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Squid Access Log
« Reply #1 on: July 23, 2009, 10:04:51 AM »
sgscc:

you should do some google searching.. I think you'd first know more about squid and websites caching.

Ciao
Stefano

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Squid Access Log
« Reply #2 on: July 23, 2009, 02:14:58 PM »
You may want to take a look at the Sarg contrib.

Sarg processes your squid logs each night and creates reports of which users have been visiting which websites.

If the Sarg reports don't give you what you need, you may want to look into installing Dansguardian, which gives you a little more control over web proxy use than unmodified squid, and gives you some different reports.