On your Front End\CAS servers the following settings need to be applied to the IIS logs.
To configure IIS logging on a Windows 2003 server:
If you do not have the Internet Information Services (IIS) Manager snap-in already installed, start at step 1. Otherwise, start at step 7.
-
From the Start menu, select Run
-
Type mmc and click OK
-
Select File | Add/Remove Snap-in
-
Click Add
-
Select Internet Information Services and click Add
-
Click Close and click OK
-
In the treeview, browse to the Web sites node
-
Right-click the web site that you want and select Properties
-
On the Web Site property sheet, click Properties for the WC3 Entended Log File Format in the Enable Logging section
-
Select the Advanced tab (or the Extended Properties tab)
-
Select the following properties:
- Date
- Time
- Client IP Address ( c-ip )
- User Name ( cs-username )
- Method ( cs-method )
- URI Stem ( cs-uri-stem )
- URI Query (cs-uri-query)
- Protocol Status ( sc-status )
- User Agent ( cs(User-Agent) )
- Bytes Sent (sc-bytes)
- Bytes Received (cs-bytes)
- Time Taken (time-taken)
- Cookie ( cs(Cookie) )
- Referer ( cs(Referer) )
To Configure IIS Logging on a Windows 2008 Server:
-
Click Start and select Administrative Tools | Internet Information Services (IIS) Manager OR in the Server Manager, select the Web Server (IIS) and open the Internet Information Services (IIS) Manager
-
Double-click Logging
-
On the Logging page, in the Log file section set the Format to W3C and click Select Fields
-
In the W3C Logging Fields dialog box, select the following options:
- Date
- Time
- Client IP Address ( c-ip )
- User Name ( cs-username )
- Method ( cs-method )
- URI Stem ( cs-uri-stem )
- URI Query (cs-uri-query)
- Protocol Status ( sc-status )
- User Agent ( cs(User-Agent) )
- Bytes Sent (sc-bytes)
- Bytes Received (cs-bytes)
- Time Taken (time-taken)
- Cookie ( cs(Cookie) )
- Referer ( cs(Referer) )
-
Click OK
-
In the right hand pane click Apply
Add the Activesync and OWA roles to the servers in the MessageStats Console:
-
Launch the Messagestats console
-
Right-Click on your Exchange Activesync and\or Front End\CAS servers and choose properties
-
Select the Server Roles tab and click Add
-
Select the OWA and Activesync roles from the list and click OK
Create the task for the OWA and Windows Mobile Gathering:
For MessageStats 6.8.1 and Later:
-
Create a Windows Mobile Default Gathering at the Organization level.
For MessageStats 6.8 and prior (Gathering tasks for these older versions do not support multiple servers):
-
Create one OWA gathering task for each Front End\CAS server
-
Create one Windows Mobile Device Gathering task for each Mailbox server