Add information about how to parse SquidGuard log together with Squid access log file.
This commit is contained in:
parent
c86c9d1e01
commit
32b8607e61
15
README
15
README
|
@ -5,7 +5,8 @@ DESCRIPTION
|
||||||
SquidAnalyzer parse native access log format of the Squid proxy and
|
SquidAnalyzer parse native access log format of the Squid proxy and
|
||||||
generate general statistics about hits, bytes, users, networks, top url,
|
generate general statistics about hits, bytes, users, networks, top url,
|
||||||
top second level domain and denied URLs. Common and combined log format
|
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
|
Statistic reports are oriented to user and bandwidth control, this is
|
||||||
not a pure cache statistics generator. SquidAnalyzer use flat files to
|
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
|
will only preserve six month of statistics from the last run of
|
||||||
squidanalyzer.
|
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
|
MULTIPROCESS
|
||||||
If you have huges squid access.log you will be interested by using
|
If you have huges squid access.log you will be interested by using
|
||||||
multiprocess with SquidAnalyzer. Using the -j or --jobs command line
|
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
|
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
|
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
|
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
|
UseClientDNSName 0
|
||||||
If you want to use DNS name instead of client Ip address as username
|
If you want to use DNS name instead of client Ip address as username
|
||||||
|
|
|
@ -8,7 +8,8 @@ SquidAnalyzer - Squid access log report generation tool
|
||||||
SquidAnalyzer parse native access log format of the Squid proxy and
|
SquidAnalyzer parse native access log format of the Squid proxy and
|
||||||
generate general statistics about hits, bytes, users, networks, top
|
generate general statistics about hits, bytes, users, networks, top
|
||||||
url, top second level domain and denied URLs. Common and combined
|
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
|
Statistic reports are oriented to user and bandwidth control, this
|
||||||
is not a pure cache statistics generator. SquidAnalyzer use flat
|
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.
|
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
|
=head1 MULTIPROCESS
|
||||||
|
|
||||||
If you have huges squid access.log you will be interested by using 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
|
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
|
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
|
=item UseClientDNSName 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue