Linux SoftwareInternetLog AnalyzersSquid Graph 3.2

Squid Graph 3.2


Squid Graph is a free, simple, yet powerful Squid v2 native logfile analysis tool that generates reports with graphical representatio
Developer:   SecurLogic
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   0K
Language:   
OS:   
Rating:   4 /5 (1 votes)
Your vote:  
enlarge screenshot


Squid Graph is a free, simple, yet powerful Squid v2 native logfile analysis tool that generates reports with graphical representation of the proxy server's traffic.

Squid Graph is distributed under the GNU General Public Licence (GPL), which means it is FREE FOR USE AND DISTRIBUTION.

Squid Graph was developed using the Linux operating system running kernel versions ranging from 2.2.x to 2.4.x with PERL 5.6.0. It should work on all other similar operating systems with PERL 5.6 and above installed.

Some platforms which have been reported to run Squid Graph successfully are FreeBSD, OpenBSD, Sun Solaris and most Linux kernel versions and distributions.

What's New in This Release:
  • No algorithm changes, mostly changes to contact information etc. due to hand-over of project to SecurLogic.


    Installation:
    Extracting the Tarball

  • Extract the Squid Graph tarball file after you have downloaded it. Those with Redhat Linux (or other similar distributions) can do this: -

    $ tar -zxvf squid-graph-x.x.tar.gz

  • Alternatively, those with UNIX-like operating systems can do this: -

    $ zcat squid-graph-x.x.tar.gz | tar -xvf -

    Gathering the Pre-requisites

  • As of version 3.0, Squid Graph requires the GD perl module. You can download it from http://stein.cshl.org/WWW/software/GD/ or you can use the included GD-1.3.3.tar.gz file in the extras/ directory.

  • Follow the intructions in the GD perl module to get it installed correctly before you proceed.

    Compiling

  • Squid Graph runs out of the box. You don't have to compile it.

    Putting it in the Right Place

  • You might not prefer to have Squid Graph lying around in your current directory, so you should just move it to a directory which makes sense, such as /usr/local/squid-graph. e.g.

    $ mv squid-graph-x.x /usr/local/squid-graph


    Runing Squid Graph:

    Quickstart

    First, get yourself into the bin/ directory, for example: -

    $ cd /usr/local/squid-graph/bin

    Next, you run Squid Graph with the default options. The bare minimum for Squid Graph to run is the --output-dir option. The output directory is where the generated HTML reports and image files would be written.

    $ ./squid-graph --output-dir=/var/www/html/reports < /usr/local/squid/logs/access.log

    NOTE: Please check your directory permissions of your output directory!

    Usually you would want the output to be generated into a directory which your web server is configured with access to. In the above example, /usr/local/squid/logs/access.log is your Squid logfile.

    Where you store your Squid logfile differs from system to system. For default Redhat Linux installations, it should be in /log/squid/access.log. For those who compiled and installed Squid with the default options, it should be in /usr/local/squid/logs/access.log.

    Removing the TCP or UDP Graphs

    Most of you won't use cache ICP or log cache ICP, so there won't be any UDP messages in your logfiles. Disabling UDP is a good idea. You can do this by specifying the --tcp-only command line option.

    $ ./squid-graph --tcp-only --output-dir=/var/www/re...

    Likewise, if you only want to see UDP statistics, you can specify the --udp-only option.

    $ ./squid-graph --udp-only --output-dir=/var/www/re...

    Generating Cumulative Graphs

    As of version 3.0, Squid Graph comes with a new feature to generage cumulative curves instead of the normal graphs. This can be done by specifying the --cumulative option.

    $ ./squid-graph --cumulative --tcp-only --output-dir=/var/www/re...

    To have a better understanding of what cumulative curves are, take a look at the output examples. Do note that enabling cumulative graphs disables the Average Transfer Duration graph automatically.

    Disabling Average Transfer Duration Graphs

    You can disable the Average Transfer Duration Graph by specifying the --no-transfer-duration option.

    $ ./squid-graph --no-transfer-duration --output-dir=/var/www/re...

    Specifying the Start/End Time

    By default, Squid Graph generates reports based on the current time. It starts analyzing from 24 hours before the current time until the current time. Sometimes we cycle logfiles so it is necessary to specify when you want Squid Graph to start looking at your log files. This is done by specifying the --start option.

    $ ./squid-graph --start=991353612 --output-dir=/var/www/re...

    Likewise, you can specify the end time and Squid will automatically calculate the start time for you. This is done by specifying the --end command line option.

    $ ./squid-graph --end=991352122 --output-dir=/var/www/re...

    To get the last line of the Squid logfile, simply use tail -n1 logfile.log

    Note that the start value is a numerical value which represents the number of seconds since 1970, NOT the conventional hh:mm:ss dd/mm/yyyy format. The reason why we did this is because Squid logs its time in this format, and we can easily use head -n1 logfile.log to view the first line of the log file to determine the start time.

    What's New in This Release:
  • Updated links after moving project to Sourceforge
  • Updated links to incorrect GPL license in documentation
  • Updated links to outdated GD Perl module
  • Simplified package directory structure and removed old files
  • No algorithm / logic changes
    tags squid graph  output dir  dir var  var www  local squid  usr local  you can  specifying the  option squid  the start  transfer duration  the output  access log  

    Download Squid Graph 3.2


     http://prdownloads.sourceforge.net/squid-graph/squid-graph-3.2.tar.gz?use_mirror=heanet
     http://prdownloads.sourceforge.net/squid-graph/squid-graph-3.2.tar.gz?use_mirror=osdn
     http://prdownloads.sourceforge.net/squid-graph/squid-graph-3.2.tar.gz?use_mirror=switch


    Authors software

    Squid Graph 3.2 (by SecurLogic)
    Squid Graph is a free, simple, yet powerful Squid v2 native logfile analysis tool that generates reports with graphical representatio


    Similar software

    Squid Graph 3.2 (by SecurLogic)
    Squid Graph is a free, simple, yet powerful Squid v2 native logfile analysis tool that generates reports with graphical representatio

    Squid 1.2 (by Squid Hackers)

    squidview 0.69 (by Graeme Sheppard)
    Squidview is a program that displays the squid proxy server log file in a nice fashion, providing the log file is in squid's native r

    squidwall 0.5 (by Tino Reichardt)
    Squidwall is a fast, small, and secure squid redirector

    Squid Report Generator 1.1 (by Matt Brown)
    SRG is a Squid Report Generator designed for the needs of CRCnet

    BannerFilter 1.31 (by Andy Lyttle)
    This script blocks advertising banners on the Web

    SqStat 1.20 (by Alex Samorukov)
    SqStat is a script to view active squid user connections

    Squid Users Manager 1.2.0 (by Fred Cox)
    Squid Users Manager is a web-enabled and intuitive user interface written upon Ruby on Rails web development framework that manager S

    MySQL Squid Access Report 2.0.12 (by Stoilis Giannis)
    MySQL Squid Access Report, mysar for short, is a reporting system for user web traffic activity, as logged from a squid proxy.

    MyS

    SquidRestrict 1.0.3 (by Michael Harding)
    SquidRestrict intention is to allow multiple time restrictions to be placed on internet usage for firewalls that use The Squid Web Pr


    Other software in this category

    AWStats 7.0 (by Laurent Destailleur)
    AWStats is a free powerful and featureful tool that generates advanced web, ftp or mail server statistics, graphically

    sarg 2.2.2 (by Pedro Lineu Orso)
    Sarg is a Squid Analysis Report Generator is a tool that allow you to view "where" your users are going to on the Internet.

    Sarg p

    Apache::ASP 2.57 (by Joshua Chamas)
    Apache::ASP provides an Active Server Pages port to the Apache Web Server with Perl scripting only, and enables developing of dynamic

    BBclone 0.4.8b (by wavman)

    TestMaker 4.4 (by Frank Cohen)

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags