darold / squidanalyzer

Squid Analyzer parses Squid proxy access log and reports general statistics about hits, bytes, users, networks, top URLs, and top second level domains. Statistic reports are oriented toward user and bandwidth control.
http://squidanalyzer.darold.net/
126 stars 36 forks source link

exclude specific error codes #68

Closed pndiku closed 9 years ago

pndiku commented 9 years ago

I'd like to be able to exclude all TCP_DENIED/403 (which are generated when a user accesses a page the first time without authentication)

Is it possible to add that type to the "excluded" types?

darold commented 9 years ago

This feature is now available in github sources. Please download latest code and let me.

It adds a new configuration directive called ExcludedCodes that allow you to define a comma separated list of connections codes. In this case, you need to add the following to your configuration file:

ExcludedCodes    TCP_DENIED/403

Best regards,