There's tonnes of commercial products out there for this sort of thing. As Thorn mentioned none can tell you how long a website was in focus on a screen. Some (such as the Astaro product) try and do some funky things with their reporting where they assume that each set of page requests from a site means a three (or maybe five) minute usage period for that site. Its not really accurate however, especially when you consider that some site auto refresh their content without user intervention. On a proxy this looks like multiple requests to the site. We have had had usage reports get wildly skewed when users leave their machine logged on overnight with a news page open in the browser.
The best choice depends on the features you are after, including stuff such as:
- Categorisation of sites
- Malware scanning
- Content type protection
- SSL inspection
- Phishing protection
- Blocking of compromised hosts
- Authentication of users
- etc
Personally I have been using the Clearswift MimeSweeper for Web software product for years and I really like it. It has its problems though, it has performance problems for large sites, SSL inspection is an addon and doesn't work very well, reporting is not terrific, and its well renowned for being extraordinarily difficult to configure, especially if you want high security. Its also gone end of life just recently.
It is however (in my humble opinion) one of the best products out there for filtering web traffic based on content, it actually analyses the contents of traffic and determines file type based on the contents of the file (rather than on MIME Type headers or file extensions as most other products do), it can look inside zip files, office documents etc for embedded files, etc. It can provide excellent security if you know how to configure it well - its saved us from many a web based malware infection.
We are about to replace it with the MimeSweeper for Web appliance, which apparently fixes many of the issues with performance, reporting, ease of use etc. I don't know yet whether the security will be of the same high level, but I'm hopeful.
Some other well regarded products in the space which I have looked into are:
- WebMarshall
- ContentKeeper
- The Sophos product (cant remember the name)
- BlueCoat
- Barracuda