Logging setup in IIS

Previous  Next

Microsoft IIS Server

Deep Log Analyzer supports W3C log files created by MS IIS (Microsoft Internet Information Services) web server. If you use DeepTracker method for session tracking, you need to enable Cookie field in IIS logs. Follow these instructions to setup format of log file created by in IIS web server.

1.Open Internet Information Services (IIS) Manager from Start menu->Control Panel->Administrative Tools
2.Right Click on the website and click Properties. go to Web Site tab, select Active Log Format: W3C Extended Log File Format. Click Properties
clip0018
3.In Logging Properties Window go to Advanced tab. Mark at least the fields listed below. Make sure Cookie is marked if you use DeepTracker session tracking method in Deep Log Analyzer. If you have more fields selected, it does not cause any problems with Deep Log Analyzer.

clip0016

These fields in W3C file are required for best reporting:

Date (date)
Time (time)
Client IP Address (c-ip)
User Name (cs-username)
Server Port(s-port)
Method (cs-method)
URI Stem (cs-uri-stem)
URI Quesry (cs-uri-query)
Protocol Status (sc-status)
Bytes Sent (sc-bytes)
Time Taken (time-taken)
Host (cs-host)
User Agent (cs(User-Agent))
Cookie (cs(Cookie)) - required only if DeepTracker method is selected in Deep Log Analyzer
Referer (cs(Referer))

 

4.Check log file format. Open web browser, visit the website and make a few clicks. IIS usually keeps its log files in this folder: C:\WINDOWS\system32\LogFiles. Open last .log file. Look at a few last lines of the log file. They should contain DeepTracker cookie at the end like in this sample and all other fields:

2006-12-01 00:05:50 W3SVC4045 C27384-57916 70.87.39.67 GET /images/clients.swf - 80 - 128.125.97.224 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) __dla_cc=29658-2077989892;+__dla_sc=_dt_ss_uid%3D9215-1474221040%26_dtscr%3D1280x1024x32%26_dtlang%3Den-us%26_dtjava%3Dtrue%26_dtflash%3D8.0 - www.deep-software.com 304 0 0 212 575 46

Notice presence of __dla_cc and __dla_sc cookies created by DeepTracker

 

Copyright © 2004-2017 Deep Software Inc. All rights reserved.
www.deep-software.com