Softpanorama
(slightly skeptical) Open Source Software Educational Society

May the source be with you, but remember the KISS principle ;-)

Google   


Squid Log Analysers

News Recommended Links Articles Perl web log analysers Syslog tools    
Calamaris Squij Squid2MySQL Pwebstats Squid-Log-Analyzer Humor Etc

 

Recommended Links


In case of broken links please try to use Google search. If you find the page please notify us about new location
Google     

Squid Logfile Analysis

Calamaris

Calamaris Calamaris is a Perl script that parses the logfiles of a wide variety of Web proxy servers and generates reports about peak-usage, request-methods, status-report of incoming and outgoing requests, second and top-level destinations, content-types, and performance.

parses logfiles from Squid, NetCache, Inktomi Traffic Server, Oops! proxy server, Novell Internet Caching System, Compaq Tasksmart or Netscape/iplanet Web Proxy Server and generates a report. Written in perl5.

About: Calamaris parses the logfiles of a wide variety of Web proxy servers and generates reports about peak-usage, request-methods, status-report of incoming and outgoing requests, second and top-level destinations, content-types, and performance.

Changes: There are bugfixes regarding %-URLs and syntactically wrong HTML output. A function to use Calamaris' output in server side includes has been added.

Calamaris parses the Squid Native Log and generates reports about Peak-usage, Request-Methods, Status-report of incoming and outgoing requests, second and Top-level destinations, content-types and performance.

Squij Squij analyses Squid 1.x and 2.x logfiles to provide information about how your refresh_patterns are performing, enabling you to tune them for better efficiency (both in traffic and freshness).

Squid2MySQL

Squid2MySQL

Squid2MySQL is an accounting system for squid. It includes monthly, daily, and timed detail levels, and uses MySQL for log storage.

Eugene V. Chernyshev <evc (at) chat (dot) ru> [contact developer]

Squid-Log-Analyzer


[What's the Squid-Log-Analyzer?] [How to install/Download] [Help/FAQ] [Info] 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.
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

This program is developed by Olaf Schubert.
If you've got any comments, suggestions, or you would like to help me please mail me.

 

Pwebstats

pwebstats Documentation Installation. By Martin Gleeson includes support for Squid's native log format. In particular squid2common.pl will convert it to the common httpd log format. Requires fly, to create the graphs. You can use one of the precompiled binaries by downloading one from the fly web page or compile it from the source code.

  1. Requirements.
  2. Obtaining the source.
  3. Installing pwebstats.

pwebstats is available via anonymous ftp.\

Please choose the site closest to you.

in Unix compress format:
pwebstats-1.3.8.tar.Z (138k) [FTP/Australia] [FTP/USA] [HTTP/USA]
or in GNU zip format:
pwebstats-1.3.8.tar.gz (69k) [FTP/Australia] [FTP/USA] [HTTP/USA]
or in PK zip format:
pwebstats-1.3.8.zip (131k) [FTP/Australia] [FTP/USA] [HTTP/USA]

Copyright © 1996-2008 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

Standard disclaimer: The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: June 05, 2008