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/
125 stars 36 forks source link

Source IP in reports. #193

Closed RivasB closed 5 years ago

RivasB commented 5 years ago

Hello darold, I have a proxy with authentication by AD but I want to see in the reports the ip from where the user connects, this is an example of a line of my acces.log:

1541170714.797 3400 172.25.1.42 TCP_MISS/200 1054 POST http://ocsp.sca1b.amazontrust.com/ lisbet.rivero HIER_DIRECT/13.33.80.118 application/ocsp-response

Notice that the ip address from which the request was generated was 172.25.1.42 with the user lisbet.rivero it is possible to add to the html generated by squidanalyzer a column for the IP address from which the connection or request was generated?

darold commented 5 years ago

Commit 131b161 adds this feature, Ip addresses used by a user are reported in the Top site visited by a user reports and a list of all ip used by the user in the "User Statistics" report.