*nix Thread, Squid - Log Analysis in Technical; Can anybody recommend some software (for Ubuntu) that allows in depth analysis of Squid3 logs.
Thanks,...
-
4th February 2009, 12:28 PM #1 Squid - Log Analysis
Can anybody recommend some software (for Ubuntu) that allows in depth analysis of Squid3 logs.
Thanks,
-
-
4th February 2009, 12:50 PM #2 SARG.
SARG
It should be in the Ubuntu Repo.
-
-
4th February 2009, 01:06 PM #3 Any documentation for configuration?
-
-
4th February 2009, 01:21 PM #4 Check the readme and the man page. Additionally, the configuration files are well commented.
-
-
4th February 2009, 01: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, 01:31 PM #6 Some specifics explaining exactly where your having issues would be helpful.
-
-
4th February 2009, 01:42 PM #7 
Originally Posted by
Geoff
Some specifics explaining exactly where your having issues would be helpful.
It certainly would
- my bad. Was busy having a play about with it.
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, 01:59 PM #8 I use SARG via webmin
It makes it really simple to use.
-
-
4th February 2009, 02:05 PM #9 
Originally Posted by
RabbieBurns
I use SARG via webmin
It makes it really simple to use.
Don't want to use webmin.
-
-
4th February 2009, 02:08 PM #10 
Originally Posted by
Hightower
It certainly would

- my bad. Was busy having a play about with it.
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)
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?
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, 02:10 PM #11 
Originally Posted by
Geoff
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?
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.

There is a access log there with plenty of entries.
How do I run it manually (sorry for my ignorance)
-
-
4th February 2009, 02: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, 02:13 PM #13 Assuming you've edited the sarg.conf correctly:
Code:
/usr/sbin/sarg-reports today
Will produce a report for today.
-
-
4th February 2009, 02: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, 02:23 PM #15 Thanks Geoff - much appreciated.
-
SHARE:
Similar Threads
-
By kiran in forum MIS Systems
Replies: 1
Last Post: 24th January 2009, 12:28 PM
-
By lancaster.david in forum MIS Systems
Replies: 0
Last Post: 24th May 2007, 01:17 PM
-
By Kained in forum MIS Systems
Replies: 0
Last Post: 25th April 2007, 09:41 AM
-
By ITWombat in forum Web Development
Replies: 6
Last Post: 2nd July 2006, 07:36 PM
-
By iking in forum How do you do....it?
Replies: 20
Last Post: 28th December 2005, 04:54 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules