441 Commits

Author SHA1 Message Date
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
Darold Gilles
652bfe3184 Update statistic on users with DENIED code to have the full list of user/ip even if they never hit an url. 2016-08-28 18:54:02 +02:00
Darold Gilles
0d67250931 Change Perl install directory from vendor to site to avoid well know issue on BSD. Thanks to dspruell for the report. 2016-08-28 12:20:40 +02:00
Darold
21b60a17cd Merge pull request #143 from brenard/debian
Add initial Debian package build files
2016-08-16 21:30:36 +02:00
Benjamin Renard
092b870d26 Add initial Debian package build files 2016-08-11 18:33:26 +02:00
Darold
0c13846f9c Merge pull request #141 from tachtler/patch-1
Update squidanalyzer.css
2016-07-23 11:02:31 +02:00
Klaus Tachtler
61c18557fd Update squidanalyzer.css
Hi,

changed the widht of the single menu tabs, because in German language, it looks better at the tab "TOP DENIED" is in German language "TOP VERBOTEN" and will be displayed better, no wordwrap anymore, will be done with this change.

Thank you!
Klaus.
2016-07-23 08:48:03 +02:00
Darold Gilles
b25874a931 Fix Throughput label for unit/s that was not dynamically changed during value formating and always labelled as B/s. Thanks to aabaker for the report. 2016-07-01 12:43:54 +02:00
Gilles Darold
28c7ebc319 Fix typo in graph titles. Thanks to aabaker for the patch. 2016-06-07 14:59:11 +02:00
Darold
f308c08c47 Merge pull request #132 from tachtler/patch-1
Update de_DE.txt
2016-06-04 20:45:30 +11:00
Klaus Tachtler
3142e4040e Update de_DE.txt
Update missing fields to German language.
2016-06-03 21:34:10 +02:00
Darold Gilles
1728133bc4 Fix top url report that was not cumulate statistics anymore. Thanks to Wesley Bresson for the report. 2016-03-12 19:23:03 +01:00
Darold Gilles
b6bbf6130a Add last visited timestamp on urls reports and show last ten visit on user url report. The last visit are counted after 5 minutes in hour view, after 30 minutes in day views and per day in month view. Thanks to Ringa Mari Sundberg for the featur request. 2016-03-06 22:25:39 +01:00
Darold
9dbaa43a47 Merge pull request #128 from sathieu/patch-1
Fix typo about Network exclusion
2016-03-02 22:37:16 +01:00
Mathieu Parent
15017d1832 Fix typo about Network exclusion 2016-03-02 16:30:31 +01:00
Darold
7fdb6d00a0 Merge pull request #126 from sathieu/manpages
Manpages fixes
2016-03-02 15:23:39 +01:00
Darold
3a77d36f29 Merge pull request #125 from sathieu/spell
Spellchecking
2016-03-02 15:22:23 +01:00
Mathieu Parent
93713ca8f9 SquidAnalyzer.pod is section 3pm 2016-03-02 13:15:42 +01:00
Mathieu Parent
f6f90b7b7a Use FHS for manpages path 2016-03-02 13:15:42 +01:00
Mathieu Parent
f5b273c5cd Spellchecking 2016-03-02 13:14:48 +01:00
Darold Gilles
fd89b74ed1 Merge branch 'master' of github.com:darold/squidanalyzer 2016-02-02 16:04:32 +01:00