Customer requires MWG 7.1 to output logs in squid w3c format for legacy reporting tool.
I have created a second log.handeler which is almost perfect, but I need a little help;
Squid Format: 1011164724.171 1337 192.168.1.3 TCP_MISS/200 20110 GET http://images.google.com/ username DIRECT/18.104.22.168 text/html
MWG7.1 Format: 1305755021 duration 192.168.1.3 TCP_MISS/200 28668 GET http://images.google.com/ username DIRECT/22.214.171.124 text/html
As you see above I have two challenges;
1. A duration property in milliseconds (the elapsed time received, request and response)
2. My 2nd challenge is DIRECT, the Hierarchy Code, is a fixed value and not from any property. Is this available?
Is there any way to get the duration of the request logged in millseconds as the reporting tool uses this to summerise session duration.
String.ReplaceIfEquals (Authentication.UserName, "", "-")
Message was edited by: ericappelboom on 5/18/11 9:22:29 AM CDT