Gilles Darold
4f0b3a713b
Add two new command line options to force file to be parsed from begining even
...
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.
2018-01-28 15:37:32 +01:00
Darold Gilles
a8e60374a5
Add filename in error message "ERROR: you must give a valid path to the Squid log file."
2017-12-30 11:06:04 +01:00
Gilles Darold
65c16191fd
Merge pull request #178 from tachtler/master
...
Update squidanalyzer.spec
2017-10-19 18:12:16 +02:00
Klaus Tachtler
e936b51a83
Update squidanalyzer.spec
...
Correction of wrong paths from %{contentdir}/html/%{name} to %{contentdir}/%{name}.
2017-10-19 14:07:51 +02:00
Gilles Darold
93f1320ad6
Merge branch 'amishxda-master'
2017-10-19 10:46:52 +02:00
Gilles Darold
8380ea4392
Resolve merge conflict
2017-10-19 10:46:37 +02:00
Gilles Darold
41abc2b969
Merge pull request #177 from tachtler/master
...
Update squidanalyzer.css and squidanalyzer.spec
2017-10-19 10:25:07 +02:00
Klaus Tachtler
85abdff64a
Update squidanalyzer.spec
...
Of security reasons, store the squidanalyzer pages data (html, images...) data NOT in /var/www/html/squidanalyzer. Use insted /var/www/squidanalyzer for it.
2017-10-17 10:34:37 +02:00
Klaus Tachtler
43aa95233f
Update squidanalyzer.css
...
Optimize view for small and bigger screens.
2017-10-17 10:24:45 +02:00
Darold Gilles
e83c76e99e
Remove debug print.
2017-09-09 11:52:11 +02:00
Darold Gilles
58bdeda870
Add --with-month-stat command line to force compute month statistics when --no-year-stat is used.
2017-08-06 12:21:42 +02:00
Gilles Darold
75c88fc270
Fix a bug in Network alias replacement. Thanks to neroxyr for the report.
2017-06-23 18:36:41 +02:00
Amish
e55c4b9769
Add feature to mention date range for reports.
...
Add feature to mention a different output directory.
Add feature to have CustomTitle just like CustomHeader.
Some bug fixes and optimization.
Ignore SIGHUP signal too.
2017-06-22 15:24:07 +05:30
Darold Gilles
8e3e68d238
Precise the number of digit in timestamp native log format. When squid crash log line can be incomplete and the next time it is started the timestamp can be corrupted. Thanks to Lukas Loucansky for the report.
2017-05-27 18:31:43 +02:00
Gilles Darold
3e9f669295
Merge branch 'master' of github.com:darold/squidanalyzer
2017-05-26 16:35:30 +02:00
Gilles Darold
f94b22416d
Fix parsing squidguard logs when url does not contain the protocol part. Thanks to mhotch for the patch.
2017-05-26 16:35:24 +02:00
Darold Gilles
54c33fd743
Update Changelog and version to 6.6
2017-05-07 17:03:11 +02:00
Gilles Darold
1d6d78c6ad
Change user top url title from "Top n/N Url" into "Top n/N sites". Thanks to Daniel Bareiro for the report.
2017-04-30 17:04:14 +02:00
Gilles Darold
bc2bfa22a6
Update documentation to clarify the use of space character in aliases files. Thanks to Darren Spruell for the report.
2017-04-03 11:20:22 +02:00
Gilles Darold
31467ff936
Fix explanation of UserAlias file format about ip address vs DNS name. Thanks to Darren Spruell for the report.
2017-03-31 10:03:16 +02:00
Gilles Darold
a8bd89bc9d
Fix missing report of TCP_DENIED_REPLY messages. Thanks to Jeff Gebhardt for the report.
2017-03-28 19:36:00 +02:00
Darold Gilles
c52568af08
Add license file about resources file and a script to retrieve original javascript libraries.
2017-03-05 21:10:41 +01:00
Gilles Darold
40cfb1f87c
Add TopStorage configuration directive to limit the storage of url to
...
a certain quantity in data file and sorted by OrderUrl. On huge access
log it will improve a lot the performances but you will have less
precision in the top url. Default to 0, all url will be stored.
Here are the performances of SquidAnalayzer on a 1.4 GB access log
file to parse and compute full reports over one week:
UrlReport | UserReport | Duration
----------+------------+---------
0 | 0 | 2m30s
0 | 1 | 3m00s
1 | 1 | 18m15s
1 | 1 | 9m55s when TopStorage is set to 100
2017-02-18 18:51:24 +01:00
Gilles Darold
58bb7799d9
Fix html report building that was limited to the last day.
2017-02-14 10:32:56 +01:00
Gilles Darold
8ae9fec3af
Add a cache to network and user aliases for speed improvement. Thanks to Louis-Berthier Soulliere for the report.
2017-02-13 18:19:56 +01:00
Darold Gilles
899a04b13b
Add TimeStart and TimeStop configuration directives to allow to
...
specify a start and stop time. Log line out of this time range
will not be parsed. The format of the value is HH:MM. These
directives can be overriden with the -s | --start and -S | --stop
command line options. Thanks to Louis-Berthier Soulliere for the
feature request.
2017-02-12 17:18:02 +01:00
Darold Gilles
dc4ac19b49
Fix missing network alias replacement.
2017-01-10 08:27:42 +01:00
Darold Gilles
a927181ca9
Update year in copyrights.
2017-01-09 08:13:02 +01:00
Darold Gilles
77d2177cb1
- Add UpdateAlias configuratio directive to apply immediately the changes
...
made in aliases files to avoid duplicates. You still have to use
--rebuild to recreate previous reports with new aliases. Enabling
this will imply a lost of performances with huges log files.
2017-01-09 08:04:26 +01:00
Darold Gilles
153cbe4c73
- Add UseUrlPort configuration directive to be able to include port number
...
into Url statistics. Default is to remove the port information from the Url.
Thanks to Tobias Wigand for the feature request.
2017-01-07 10:39:08 +01:00
Darold Gilles
cd790fb92a
Disabled bandwidth cost report by default.
2016-11-06 17:37:41 +01:00
Darold Gilles
126a36a3dc
Fix removing of obsolete year directory.
2016-11-06 12:47:18 +01:00
Darold Gilles
9a334904b8
Merge branch 'master' of github.com:darold/squidanalyzer
2016-11-06 10:53:30 +01:00
Darold Gilles
e71f269a1d
Fix obsolete statistics no longer being deleted. Thanks to andreybrasil for the report.
2016-11-06 10:53:16 +01:00
Gilles Darold
e8c55f1ff4
Merge branch 'master' of github.com:darold/squidanalyzer
2016-10-25 14:14:49 +02:00
Gilles Darold
dc36f29384
Allow parsing of access.log generated through syslog. Thanks to Celine Labrude for the report.
2016-10-25 14:14:32 +02:00
Darold Gilles
719871c2a2
Fix remaining _SPC_ in username. Thanks to roshanroche for the report.
2016-10-14 14:39:48 +02:00
Darold Gilles
d3528df0a9
Add Url_Hit label in translation files.
2016-10-09 11:59:04 +02:00
Darold Gilles
7cee13efc5
Merge branch 'master' of github.com:darold/squidanalyzer
2016-10-09 11:53:49 +02:00
Darold Gilles
aa7b70a36b
Fix remaining _SPC_ in username. Thanks to roshanroche for the report.
2016-10-09 11:53:09 +02:00
Darold Gilles
81392c8ce0
Fix remaining SA_CALENDAR_SA in html output. Thanks to roshanroche for the report.
2016-10-09 11:30:07 +02:00
Gilles Darold
deca496e3a
Fix newline removed at line 5243 in previous patch.
2016-10-06 19:25:29 +02:00
Gilles Darold
3481b4c513
Add more fix to denied stat datafile corruption. Thanks to PiK2K for the report.
2016-10-06 18:54:14 +02:00
Gilles Darold
b07f542539
Fix denied stat datafile corruption. Thanks to PiK2K for the report.
2016-10-06 11:06:09 +02:00
Gilles Darold
3d058e28e9
Use CORE::localtime to format denied first and last hit.
2016-10-06 09:20:07 +02:00
Gilles Darold
0916f06c20
Fix potential unparsed log case when log file are set in configuration file and not on command line
2016-09-25 10:51:07 +02:00
Gilles Darold
bd54505c80
Change the in-line popup (on top domain and top URL) to show hits on hits tables, bytes on the bytes tables and duration on the duration tables, instead of count. Thanks to Wesley Bresson for the feature request.
2016-08-31 00:46:59 +02:00
Gilles Darold
9f443b3888
Only apply OrderUrl to user url list, other reports in Top domain and Top Url are now always ordered following the first column, which is the sorted column of the report (hits, bytes and duration).
2016-08-31 00:00:55 +02:00
Gilles Darold
e2a8293fdf
Fix missing limit total number of URLs shown for a user to TopNumber. Thanks to Graham Wing for the report.
2016-08-30 22:14:54 +02:00
Darold Gilles
59f67c05a3
Add report of top denied url on user statistic page. Thanks to delumerlino and Pavel Podkorytov for the feature request.
2016-08-28 20:19:18 +02:00