darold / squidanalyzer

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.
http://squidanalyzer.darold.net/
125 stars 36 forks source link

Can't start using SquidAnalyzer #211

Closed ghost closed 4 years ago

ghost commented 4 years ago

OS: Debian Jessie good day, i ran SA in debug mode and in the output i saw this....

root@squid-beta-1:/usr/local/bin# squid-analyzer -d /var/log/squid3/access-localtime.log SquidAnalyzer version 6.6 Starting to parse logfile /var/log/squid3/access-localtime.log. DEBUG: this file will be parsed, no history found. Reading file /var/log/squid3/access-localtime.log from offset 0 to end. No new log registered... DEBUG: the log statistics gathering took:100 wallclock secs (88.45 usr + 5.41 sys = 93.86 CPU) Skipping HTML build. DEBUG: generating HTML output took: 0 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) DEBUG: total execution time:100 wallclock secs (88.45 usr + 5.41 sys = 93.86 CPU)

darold commented 4 years ago

Hi,

Your log is empty or you don't have the right log format expected by SquidAnalyzer, see LOGFORMAT in the documentation.