Configure Sarg

Sarg – Squid Analysis Report Generator is a tool that allow you to view “where” your users are going to on the Internet. Sarg provides many informations about Squid users activities: times, bytes, sites, etc…

You can download & install latest version of sarg.

You need to update sarg.conf for your proxy logs details.

/usr/local/sarg/sarg.conf

You can generate sarg report just by running command sarg on shell.

Once successfully completion of command you will be able to view squid reports using http.

In my case its http://192.168.222.1/squid-reports/ (192.168.222.1 is squid proxy)

You can write bash script to generate reports & trunk old access.log to avoid regenerating old data. And to get data date-wise.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Archives

Categories

Page optimized by WP Minify WordPress Plugin