Squid-Log-Analyzer
[What's the Squid-Log-Analyzer?]
[How to install/Download]
[Help/FAQ]
[Info]
What's the Squid-Log-Analyzer?
Squid-Log-Analyzer is a smal perl-script, which analyses the file access.log generated by the Squid-Proxy-Server.
I hope this tool will be useful. You may use and distribute it for free under the terms of the GNU general public license. See the README file and the head of the script for more information about the license.
How to install
At first, you have to download the package. (6 KB)
After downloading the package place it in a warm dry place in your PC, unzip and untar it (e.g. with: tar -xzf squid-log-analyzer-0.6.tar.gz) cd into the directory (cd squid-log-analyzer-0.6) and execute the program with ./run
A file called squidlog.htm is generated, you may open it with your favourite web-browser.
Propably you like to change some options: just edit the squid-log-analyzer.conf file. It is well commented. You should be able to edit it with any texteditor.
If there are any problems with the problem look at the Help-section.
Help
Q: There is no file called squidlog.htm generated./The program says: "./run: ./squid-log-analyzer.pl: File or directory not found".
A:
You have to set the location of the perl interpreter. Open the file squid-log-analyzer.pl and edit the first line. (#!/usr/local/bin/perl should work) If you don't know where your perl editor is type: "whereis perl". If you don't have perl installed, get it from Perl.com
Q: Q: There is no file called squidlog.htm generated./ The program says: "tail: /var/log/squid/access.log: File or directory not found".
A: You have to set the location of your access.log file. Edit squid-log-analyzer.conf. If you don't know where you're access.log file is:
try: locate access.log
or: find / -name access.log
on rpm-based systems (RedHat, SuSE,...) you could also use: rpm -ql squid | grep access.log
If you have any other problem, please contact me. (see Info
Info
This program is developed by Olaf Schubert.
If you've got any comments, suggestions, or you would like to help me please mail me.
It is hosted by