Configuring IIS Logging on the
Exchange CAS and Mailbox servers
(This is taken from the UCA Deployment Guide Appendix C - Configuring IIS Log Files to capture ActiveSync or OWA events)
For UC Analytics to collect data from the ActiveSync IIS log files, IIS logging must be configured on the front-end
Exchange Client Access Server (CAS) and on the back-end Exchange Mailbox servers to include the required
data.
You configure IIS logging on the servers that have the ActiveSync role installed.
UC Analytics only supports the following log file format:
• W3C Extended Log File Format (set by default)
UC Analytics does not support a weekly, monthly, or yearly frequency for IIS log file rollover. Only hourly or daily
log file rollover is supported.
When using W3C Extended Log File Format, you must configure the extended properties. The default
configuration of IIS logging for the W3C Extended Log File Format is insufficient for UC Analytics to gather the
information required for insights.
Use IIS Manager to configure the W3C Extended Log File Format on the Exchange CAS server from which you
want to gather data. If the Exchange CAS server is hosted on Window Server 2008, Windows Server 2008 R2, or
Windows Server 2012, see Configuring IIS Logging if Exchange is hosted on Windows Server 2008 or later on
page 104.
To configure IIS logging on Exchange hosted on Windows 2003 Server
If you do not have the Internet Information Services (IIS) Manager MMC snap-in added, start at step 1.
If the snap-in is already installed, start at step 7.
1 From the Start menu, select Run.
2 Type mmc, and click OK.
3 In the Console dialog box, select File | Add/Remove Snap-in.
4 Click Add.
5 Select Internet Information Services and click Add.
6 Click Close and click OK.
7 In the treeview, browse to the Web Sites node.
8 Right-click the web site that you want and select Properties.
9 On the Web Site property sheet, click Properties in the Enable Logging section.
10 Select the Advanced Properties tab.
11 Ensure that the following fields are selected:
▪ Date (date)
▪ Time (Time)
▪ User Name (cs-username)
▪ Server name (s-computername)
▪ Server IP Address (s-ip)
▪ URI Stem (cs-uri-stem)
▪ URI Query (cs-uri-query)
▪ Protocol Status (sc-status)
▪ Bytes Sent (sc-bytes)
▪ Bytes Received (cs-bytes)
▪ Time Taken (time-taken)
▪ User Agent (cs(User-Agent))
▪ Protocol Substatus (sc-substatus)
12 Click OK.
13 Under the General tab, ensure that the New Log Schedule is set to hourly or daily. UC Analytics does not
support weekly, monthly, or unlimited log file size for the log file rollover schedule.
14 Click OK and close the console.