Hi,
As the reports from the logs of the proxy does not have options such as: top sites, top user, list of blocked sites and also be very slow ... I'm trying to view logs using the tool SARG -
http://sarg.sourceforge.net/sarg.php --
To Install
apt-get update
apt-get install sarg
In settings sarg.conf
/etc/squid/sarg.conf
the line below, I specify the path where the logs
(squid or dansguardian
)# TAG: access_log file
# Where is the access.log file
# Sarg-l file
#
access_log /var/log/dansguardian/access.log or
access_log /var/log/squid/access.logEven in settings has sarg.conf option below:
# TAG: dansguardian_conf file
# DansGuardian.conf file path
# Generate reports from DansGuardian logs.
# Use 'none' to disable it.
# Dansguardian_conf /usr/dansguardian/dansguardian.conf
#
# dansguardian_conf none
I do not know if it is needed
![Huh ???](https://forum.zentyal.org/Smileys/default/huh.gif)
#################
After running the command:
cd /var/log/dansguardian
#sarg -l access.log -l access.log.1 -l access.log.2 -l access.log.3 -l access.log.4 -l access.log.5
Go to Http:// ip /squid-reports