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:

  1. Log in to the SmarterStats Server
  2. Go to Start –> Control Panel –> Administrative Tools.
  3. Run Internet Information Service (IIS).
  4. Expand the Web Sites folder in IIS and find the site that is not reporting.
  5. Go to the properties of the site.
  6. Under the Web Site tab, click the Properties button.
  7. Click the Advanced tab and check sc-bytes, cs-bytes, and cs(Referrer).
  8. Click OK until you are back to IIS.
  9. Close IIS.

IIS 7.0 & IIS 8.x
Follow these steps to enable recording of bandwidth and referral information in IIS 7.0:

  1. Log in to the SmarterStats Server
  2. Go to Start –> Control Panel –> Administrative Tools.
  3. Run Internet Information Service (IIS).
  4. Expand the Web Sites folder in IIS and find the site that is not reporting.
  5. Select the site and open up Logging.
  6. Click the Select Fields button and check sc-bytes, cs-bytes, and cs(Referrer).
  7. Click OK.
  8. Click Apply.
  9. 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.

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.