*nix Thread, Squid - Log Analysis in Technical; Can anybody recommend some software (for Ubuntu) that allows in depth analysis of Squid3 logs.
4th February 2009, 11:28 AM #1
Squid - Log Analysis
Can anybody recommend some software (for Ubuntu) that allows in depth analysis of Squid3 logs.
4th February 2009, 11:50 AM #2
It should be in the Ubuntu Repo.
4th February 2009, 12:06 PM #3
Any documentation for configuration?
4th February 2009, 12:21 PM #4
Check the readme and the man page. Additionally, the configuration files are well commented.
4th February 2009, 12:28 PM #5
Sorry - can't make head nor tail of it. Appreciate any help.
P.S. looked at demo logs and its just the thing i'm after
4th February 2009, 12:31 PM #6
Some specifics explaining exactly where your having issues would be helpful.
4th February 2009, 12:42 PM #7
It certainly would - my bad. Was busy having a play about with it.
Originally Posted by Geoff
I have Squid3 installed and have just installed sarg. Been into the conf and changed some things to suit (and you were right, it is very well documented) when I found the file which was in /etc/squid
When I browse to http://IPofSquidServer/squid-reports I just get an empty directory - surely this should be populated already with some information.
To be honest, I'm not sure if Squid is set up to produce logs (is this done by default)
4th February 2009, 12:59 PM #8
I use SARG via webmin
It makes it really simple to use.
4th February 2009, 01:05 PM #9
Don't want to use webmin.
Originally Posted by RabbieBurns
4th February 2009, 01:08 PM #10
1) Sarg will only produce some reports after it's been run, normally this is done via cron. Have you attempted to run sarg manually?
Originally Posted by Hightower
2) Squid spits it's logs out to /var/log/squid/. In particular there should be a human readable access.log in that location. Go check.
4th February 2009, 01:10 PM #11
There is a access log there with plenty of entries.
Originally Posted by Geoff
How do I run it manually (sorry for my ignorance)
4th February 2009, 01:13 PM #12
Sorry - ran it - sorted!
Is a cron job created automatically, or is it something for me to set up.
If so, how often should I run this?
4th February 2009, 01:13 PM #13
Assuming you've edited the sarg.conf correctly:
Will produce a report for today.
4th February 2009, 01:14 PM #14
There are cron jobs setup by default for daily/weekly/monthly. Your web server folder will be populated with reports automagically. The only thing you need to keep an eye on is the amount of reports, I had my proxy die from the hard drive being full of sarg reports once
Thanks to Geoff from:
Hightower (4th February 2009)
4th February 2009, 01:23 PM #15
Thanks Geoff - much appreciated.
By kiran in forum MIS Systems
Last Post: 24th January 2009, 11:28 AM
By lancaster.david in forum MIS Systems
Last Post: 24th May 2007, 01:17 PM
By Kained in forum MIS Systems
Last Post: 25th April 2007, 09:41 AM
By ITWombat in forum Web Development
Last Post: 2nd July 2006, 07:36 PM
By iking in forum How do you do....it?
Last Post: 28th December 2005, 03:54 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)