Squid Analysis Report Generator provides a viewing tool.
The installation process for Sarg is relatively straightforward. If you use the native Squid log format, the elapsed time will be included in reports (emulate_httpd_log off), and you can proceed with the following steps:
- First, run ./configure
- Configure options include:
- Enabling bindir, where the Sarg binary will be saved (default: /usr/bin)
- Enabling sysconfdir, where the configuration directory is located (default: /usr/local/sarg)
- Enabling htmldir, where the website's HTML root directory is found (default: /var/www/html)
- Enabling mandir, where the Sarg man page will be saved (default: /usr/local/man/man1)
- Next, run make
- After that, run make install
- Then, go to /usr/local/sarg (or the file entered with --sysconfdir on configure) and make the necessary changes to sarg.conf as needed.
One essential thing to note about Sarg is that the date/time report is incremented every minute that a request is logged. This incrementation then adds up to the total time for the requests. You can use the command sarg -h to learn more about Sarg's usage.
In this latest Sarg release, some improvements were made, such as the addition of the fidex -m option to show all the used tags. However, there were also some issues corrected, such as the invalid date period in download reports, wrong results when a user id contains a ' ' character, and the previous reports info being wrong in index.html. Overall, Sarg is a useful tool that can help you keep track of your users' activities online.
Version 2.2.3.1: N/A