Squid Analyzer parses Squid proxy access log and reports general statistics about hits, bytes, users, networks, top URLs, and top second level domains. Statistic reports are oriented toward user and bandwidth control.
I downloaded SARG and configured it using this guide https://www.tecmint.com/sarg-squid-analysis-report-generator-and-internet-bandwidth-monitoring-tool/
and this is my output when I run $ sudo sarg -x
SARG: Init
SARG: Loading configuration file "/etc/sarg/sarg.conf"
SARG: Chaining IP resolving module "dns"
SARG: Loading exclude host file from "/etc/sarg/exclude_hosts"
SARG: Loading exclude file from "/etc/sarg/exclude_users"
SARG: Purging temporary directory "/tmp/sargWoTC7F"
SARG: Parameters:
SARG: Hostname or IP address (-a) =
SARG: Exclude file (-c) = /etc/sarg/exclude_hosts
SARG: Date from-until (-d) =
SARG: Email address to send reports (-e) =
SARG: Config file (-f) = /etc/sarg/sarg.conf
SARG: Date format (-g) = Europe (dd/mm/yyyy)
SARG: IP report (-i) = No
SARG: Keep temporary files (-k) = No
SARG: Input log (-l) = /var/log/squid/access.log
SARG: Resolve IP Address (-n) = Yes
SARG: Output dir (-o) = /var/www/html/squid-reports/
SARG: Use Ip Address instead of userid (-p) = No
SARG: Accessed site (-s) =
SARG: Time (-t) =
SARG: User (-u) =
SARG: Temporary dir (-w) = /tmp/sargWoTC7F
SARG: Debug messages (-x) = Yes
SARG: Process messages (-z) = 0
SARG: Previous reports to keep (--lastlog) = 0
SARG:
SARG: sarg version: 2.4.0 Jan-16-2020
SARG: No files matching "/var/log/squid/access.log"
I downloaded SARG and configured it using this guide https://www.tecmint.com/sarg-squid-analysis-report-generator-and-internet-bandwidth-monitoring-tool/ and this is my output when I run $ sudo sarg -x SARG: Init SARG: Loading configuration file "/etc/sarg/sarg.conf" SARG: Chaining IP resolving module "dns" SARG: Loading exclude host file from "/etc/sarg/exclude_hosts" SARG: Loading exclude file from "/etc/sarg/exclude_users" SARG: Purging temporary directory "/tmp/sargWoTC7F" SARG: Parameters: SARG: Hostname or IP address (-a) = SARG: Exclude file (-c) = /etc/sarg/exclude_hosts SARG: Date from-until (-d) = SARG: Email address to send reports (-e) = SARG: Config file (-f) = /etc/sarg/sarg.conf SARG: Date format (-g) = Europe (dd/mm/yyyy) SARG: IP report (-i) = No SARG: Keep temporary files (-k) = No SARG: Input log (-l) = /var/log/squid/access.log SARG: Resolve IP Address (-n) = Yes SARG: Output dir (-o) = /var/www/html/squid-reports/ SARG: Use Ip Address instead of userid (-p) = No SARG: Accessed site (-s) = SARG: Time (-t) = SARG: User (-u) = SARG: Temporary dir (-w) = /tmp/sargWoTC7F SARG: Debug messages (-x) = Yes SARG: Process messages (-z) = 0 SARG: Previous reports to keep (--lastlog) = 0 SARG: SARG: sarg version: 2.4.0 Jan-16-2020 SARG: No files matching "/var/log/squid/access.log"