13

Can anyone recommend me a good tool for analyzing squid logs ?

I'm currently using SARG. Is there something better?
I need to easily see what sites were visited/denied, when and by whom.

There is a list of squid analyzers. Some of them seem to be out of date.
Squid: Logfile Analysis

Jindrich
  • 4,958
  • 8
  • 29
  • 42

5 Answers5

7

I used LightSquid: http://lightsquid.sourceforge.net/ It was good enough for me for several reasons:

  • It is fast, takes very little diskspace (In comparison with SARG, only ~45Kb of Perl scripts)
  • There is nothing superfluous

You can try it, using online-demo: http://lightsquid.sourceforge.net/demo17/index.cgi?year=2005&month=04

"Official" feauture-list:

  • fast and simple install fast log
  • parser generatesmall per user data
  • file perl based cgi script for
  • dynamic generated report pages html
  • template for design no database
  • required no additional perl module
  • various reports user groups support
  • graphics report (v 1.6+) real name
  • (v 1.6+) multilangual interface
Alexey Shatygin
  • 736
  • 4
  • 11
3

Calamaris might provide what you're looking for. Handles many different types of logs, including squid.

Avery Payne
  • 14,326
  • 1
  • 48
  • 87
2

I use Free-SA which is similar to SARG but much faster and doesn't crash on huge log files. It works very well.

"Free-SA is statistic analyzer for daemons log files similar to SARG. Its main advantages over SARG are much better speed (7x-20x times), more reports support, crossplatform work and W3C compliance of generated HTML/CSS reports code."

  • I have managed to install this, and it looks great. Do you have any links to help on setting up cron tasks for it? – UrkoM Mar 20 '12 at 01:37
0

I use sarg, but for personal use i use sqview (http://github.com/mezgani/sqview/tree/master), and sometimes awk scripting that is very useful.

Ali Mezgani
  • 3,810
  • 2
  • 23
  • 36
0

If you are looking for a security log analyzer, you will like OSSEC. It monitors the logs looking for multiple 404s, 500s, worm actions, etc. Great to detect internal compromises.

sucuri
  • 2,817
  • 1
  • 22
  • 22