Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire.

Please join in and help us improving it!

SARG - Squid Analysis Report Generator

SARG is a tool that analyses the proxy log files and creates beautiful reports out of it. It is handy to see how much bandwidth is used by individual machines on the network and one can check on which websites the network's users are surfing.

Sarg example in daily view:

Sarg example for a user view:


Installation

The package that has to be installed is called "sarg" and can be installed either over the web UI or the command line.

pakfire install sarg

Reports

The reports get automatically generated, but it is required that the squid proxy server actually writes log files. That must be enabled on the proxy server configuration page by checking the box "Log enabled" in the "Log settings" section.

To view the logs, head over to "Logs -> Proxy reports" and you will see a number of reports to see. If one of them is grey, the report has not been generated yet.

Click on the links to open a new window with the report.


Further reading

Edit Page ‐ Yes, you can edit!

Older Revisions • September 23 at 8:43 pm