Add information about how to parse SquidGuard log together with Squid access log file.

This commit is contained in:
Darold Gilles 2015-07-27 22:50:06 +02:00
parent c86c9d1e01
commit 32b8607e61
2 changed files with 25 additions and 4 deletions

15
README
View File

@ -5,7 +5,8 @@ DESCRIPTION
SquidAnalyzer parse native access log format of the Squid proxy and
generate general statistics about hits, bytes, users, networks, top url,
top second level domain and denied URLs. Common and combined log format
are also supported.
are also supported. SquidGuard logs can also be parsed and ACL's
redirection reported into denied URLs report.
Statistic reports are oriented to user and bandwidth control, this is
not a pure cache statistics generator. SquidAnalyzer use flat files to
@ -191,6 +192,15 @@ USAGE
will only preserve six month of statistics from the last run of
squidanalyzer.
If you have a SquidGuard log you can add it to the list of file to be
parsed, either in the LogFile configuration directive log list, either
at command line:
squid-analyzer /var/log/squid3/access.log /var/log/squid/SquidGuard.log
SquidAnalyzer will automatically detect the log format and report
SquidGuard ACL's redirection to the Denied Urls report.
MULTIPROCESS
If you have huges squid access.log you will be interested by using
multiprocess with SquidAnalyzer. Using the -j or --jobs command line
@ -255,7 +265,8 @@ CONFIGURATION
Set the path to the Squid log file. This can be a comma separated
list of files to process several files at the same time. If the
files comes from differents Squid servers, they will be merges in a
single reports.
single reports. You can also add to the list a SquidGuard log file,
SquidAnalyzer will atomatically detect the format.
UseClientDNSName 0
If you want to use DNS name instead of client Ip address as username

View File

@ -8,7 +8,8 @@ SquidAnalyzer - Squid access log report generation tool
SquidAnalyzer parse native access log format of the Squid proxy and
generate general statistics about hits, bytes, users, networks, top
url, top second level domain and denied URLs. Common and combined
log format are also supported.
log format are also supported. SquidGuard logs can also be parsed
and ACL's redirection reported into denied URLs report.
Statistic reports are oriented to user and bandwidth control, this
is not a pure cache statistics generator. SquidAnalyzer use flat
@ -193,6 +194,14 @@ removed from the filesystem. Useful to preserve space, for example:
will only preserve six month of statistics from the last run of squidanalyzer.
If you have a SquidGuard log you can add it to the list of file to be parsed,
either in the LogFile configuration directive log list, either at command line:
squid-analyzer /var/log/squid3/access.log /var/log/squid/SquidGuard.log
SquidAnalyzer will automatically detect the log format and report SquidGuard
ACL's redirection to the Denied Urls report.
=head1 MULTIPROCESS
If you have huges squid access.log you will be interested by using multiprocess
@ -266,7 +275,8 @@ For example:
Set the path to the Squid log file. This can be a comma separated list of files
to process several files at the same time. If the files comes from differents
Squid servers, they will be merges in a single reports.
Squid servers, they will be merges in a single reports. You can also add to the
list a SquidGuard log file, SquidAnalyzer will atomatically detect the format.
=item UseClientDNSName 0