How to: Get full metrics including Bandwidth and/or Referral Information on SmarterStats
How to: Get full metrics including Bandwidth and/or Referral Information on SmarterStats
By default IIS 8.5 does not provide on its log file enough information for SmarterStats to calculate bandwidth utilization and Referral information. However, enabling the logs to include this information is fairly simple, the hardest thing is knowing why you were not getting that information on your reports. Simply follow these steps:
The default settings in IIS do not record bandwidth or referral information in the logs. If they are not recorded, SmarterStats cannot include bandwidth or referral information in the reports.
Applies to All Versions of SmarterStats
IIS 6.0
Follow these steps to enable recording of bandwidth and referral information in IIS 6.0:
- Log in to the SmarterStats Server
- Go to Start –> Control Panel –> Administrative Tools.
- Run Internet Information Service (IIS).
- Expand the Web Sites folder in IIS and find the site that is not reporting.
- Go to the properties of the site.
- Under the Web Site tab, click the Properties button.
- Click the Advanced tab and check sc-bytes, cs-bytes, and cs(Referrer).
- Click OK until you are back to IIS.
- Close IIS.
IIS 7.0 & IIS 8.x
Follow these steps to enable recording of bandwidth and referral information in IIS 7.0:
- Log in to the SmarterStats Server
- Go to Start –> Control Panel –> Administrative Tools.
- Run Internet Information Service (IIS).
- Expand the Web Sites folder in IIS and find the site that is not reporting.
- Select the site and open up Logging.
- Click the Select Fields button and check sc-bytes, cs-bytes, and cs(Referrer).
- Click OK.
- Click Apply.
- Close IIS.
So that’s it! Only 3 additional fields have to be checked for this integration to work. Now, if you are curious what is the bare minimum set of fields you need and which provide full functionality (thinking on the lines of only logging enough for SmartStats to work correctly) below is the list you are looking for:
Here are the WX3Cex log fields SmarterStats needs to properly display reports:
- date*
- time*
- c-ip*
- cs-username (if Windows authentication is used and you want to track them)
- cs-method
- cs-uri-stem*
- cs-uri-query (if you want to track query items for data mining)
- sc-status
- sc-substatus
- sc-win32-status
- sc-bytes ( if you would like to track bandwidth)
- cs-bytes ( if you would like to track bandwidth)
- cs-hosts
- cs(User-Agent) ( if you would like to track browser or bots)
- cs(Referrer) (if you would like to track referrer or search engine)
If you do not capture data from all of the above log fields, SmarterStats will still work. However, the reports will be missing data. NOTE: The fields marked with an asterisk (*) are required and rows without them will not be imported.
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!