SquidAnalyzer to use localtime. If this directive is commented
then SquidAnalyzer will autodetect the timezone and apply it to
all timestamp found. If the directive is set to an other timezone
value, this is this value that will be applied.
When running running "dpkg-buildpackage -us -uc" it reports:
dh_usrlocal: debian/squidanalyzer/usr/local/bin/squid-analyzer is not a directory
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I've changed Perl INSTALLDIRS to vendor instead of site so that it will
not be installed into /usr/local/
Thanks to Adrian Ban for the report.
used to set path to the file containing url alias name. You may want to group
URL under a single alias to agregate statistics, in this case create a file
with this format :
URL_ALIAS URL_REGEXP1,URL_REGEXP2,...
For example:
VIDEO .*\.googlevideo\.com.*,.*\.youtube\.com.*,.*\.viadeo.com.*
FACEBOOK .*\.fbcdn\.net.*,.*\.facebook\.com.*
GOOGLE .*\.google[\-\.].*
Regexp must use the Perl regular expression. Thanks to Gergely Szasz for
the feature request.
options:
Insert a html Refresh tag into all index.html files. The value is
the refresh intervalle in minutes. Default to 5 minutes. Can be
overridden at command line with option -R | --refresh
To avoid loading index.html pages with incomplete content when SquidAnalyzer
is writing into the file, SquidAnalyzer first write into a index.html.tmp
file and once it is written it rename it into index.html.
Thanks to Weverton Everaldo Lubask and Pablo Ariel Tofano for the feature
request.
options:
Insert a html Refresh tag into all index.html files. The value is
the refresh intervalle in minutes. Default to 5 minutes. Can be
overridden at command line with option -R | --refresh
To avoid loading index.html pages with incomplete content when SquidAnalyzer
is writing into the file, SquidAnalyzer first write into a index.html.tmp
file and once it is written it rename it into index.html.
Thanks to Weverton Everaldo Lubask for the feature request.
follow:
Adjust timezone to use when SquidAnalyzer reports different time
than graphs in your browser. The value must follow format: +/-HH.
Default is to use local time. This must be considered as real
timezone but the number of hours to add remove from log timestamp to
adjust graphs times. For example:
TimeZone +01
will append one hour to all graphs time series to match squid server
timestamp.
Be warn that if you have enabled this directive before this commit the
graphs might display the wrong time. If your browser is at the same
timezone as the squid server you might want to comment this directive as
SquidAnalyzer will adjust the graphs to the right timezone by default.
Thanks to Weverton Everaldo Lubask for the report.
if an history file is present:
--skip-history : used to not take care of the history file. Log
parsing offset will start at 0 but old history
file will be preserved at end. Useful if you
want to parse and old log file.
--override-history : when skip-history is used the current history
file will be overriden by the offset of the
last log file parsed.
Thanks to zeft2016 for the feature request.