Closed roshanroche closed 7 years ago
To parse multiple log files just give them at command line as follow:
squid-analyzer ... /var/log/squid/access.log.2 /var/log/squid/access.log.1 /var/log/squid/access.log
If you have SA_CALENDAR_SA on top of a report this is because squid-analyzer exit abnormally. Do you have any error message or a remaining /tmp/squid-analyzer.pid file?
Regards,
even .gz format log file i can input at command line? no there is no error and remaining pid file. this SA_CALENDAR_SA appears only on individual network and user reports eg: http://reportserver/squidreport/2016/users/192.168.1.54/192.168.1.54.html ---- here on top of the page http://reportserver/squidreport/2016/networks/192.168.1.0/192.168.1.0.html ------- here on top of the page
Yes gzipped file are supported.
About SA_CALENDAR_SA appearing on individual network and user reports, this is a "normal" behavior but it need to be removed. I missed that because with default CSS it is not visible. You need to override the CSS and JS files with the one from last release.
Thanks for the reply... where can i find the latest js and css files? i have the ones which was bundled with 6.5 version. one more issue i wanted to ask you if u dont mind. spaces are not allowed in full user names. how do i get full user name on individual reports? currently it shows firstname_SPC_last name.. is there any format i should follow in user-alias file?
Sir, Any solution for this issue? Thanks
Commits aa7b70a and 81392c8 might solve this issue. Thanks for the report and sorry for the response delay.
Best regards,
Dear Darold, as usual a perfect job done.. its working cool! thanks a lot.
Dear Darold, one more thing u can add in the tooltip link on Top Denied page ,user name space still appears. may be the following will fix the issue on line 5306. please check before committing this is only my observation
my $usr_lbl = $user;
$usr_lbl =~ s/_SPC_/ /g;
print $out "<tr><td>$usr_lbl</td><td>$denied_stat{$u}{users}{$user}</td></tr>\n";
Commit 719871c apply your fix. Thanks.
1st of all thank you for the wonderful log analyzer. i would like to know how can i use multiple access log files. if you can give me an example. even with the latest files i am getting SA_CALENDAR_SA on top while iam on users access page.
Thank you.