Unable to view the Page Hits

Problem

I am unable to view the 'Page Hits' and similar SharePoint usage reports in Vyapin's SharePoint Farm Reporter. What could be the reason?

Applies to: SharePoint Farm Reporter 4.4 and above

Cause

SharePoint Farm Reporter retrieves information from IIS log files for certain reports. This requires IIS logging to be enabled in the target web application(s) in IIS server and the IIS Log Files Directory to be configured in the SharePoint Farm Reporter Settings dialog to generate the report.

The reported problem is most likely to occur if these options are not configured properly.

Solution

In order to generate IIS log based reports, please ensure the following points:

  1. Enable Logging option (IIS Manager --> <Web Application> --> Logging --> Enable) in IIS is selected for the web application for which you are trying to generate report.
  2. IIS Log Files Directory is specified in Tools --> SharePoint Farm Reporter Settings ---> IIS Log Files Directory for each front-end web server in the SharePoint farm to process the IIS log file data.
  3. Custom and ODBC Logging is installed in the IIS (SharePoint front-end web) server in which you are running SharePoint Farm Reporter.

To enable Custom and ODBC logging:

    a. Click Start, point to Administrative Tools and click Server Manager.

    b. In the Server Manager hierarchy pane, expand “Roles” and click ‘Web Server (IIS)’.

    c. In the Web Server (IIS) pane, scroll to the “Role Services” section and then click “Add Role Services”.

    d. On the “Select Role Services” page of the ‘Add Role Services’ Wizard, check ‘Custom Logging’ and ‘ODBC Logging’ and click Next.

    e. On the Confirm Installation Selections page, click Install.

    f. On the Results page, click Close.

Applicable Reports:

Page Visits, List Visits, Page Hits, Page Hits - Monthly Usage, Site Visitors, Site Visitors - Monthly Usage, Site Hits Summary, Site Hits Summary - Monthly Usage, List Hits, List Hits - Monthly Usage, Site Usage Summary

You can refer the following article for more information on how to enable logging in IIS: http://support.microsoft.com/kb/313437

 

Applies to: SharePoint Farm Reporter 2.x to 4.3.1

Cause

In order to deliver ‘Page Hits’ and ‘Site Visitors’ reports, SharePoint Farm Reporter retrieves usage analysis information maintained by SharePoint in STS log files of the connected web application. The reported problem is more likely to be observed if "Usage data collection" and "Health data collection" options in ‘Configure Usage Analysis Processing’ are not enabled in SharePoint Central Administration site.

Solution

How to configure in SharePoint 2013:

  • Enable the "Usage data collection" and "Health data collection" options in the "Configure usage and health data collection" section (Central Administration -->Monitoring-->Reporting-->Configure usage and health data collection) in SharePoint Central Administration.

How to configure in SharePoint 2010:

  • Enable the "Usage data collection" and "Health data collection" options in the "Configure usage and health data collection" (Central Administration -->Monitoring-->Reporting-->Configure usage and health data collection) section in SharePoint Central Administration.

How to configure in SharePoint 2007:

  • Enable the "Processing Settings" and "Logging Settings" options in Configure Usage Analysis Processing section (Central Administration -->Operations-->Usage Analysis Processing) in the SharePoint Central Administration site.
  • The timer job of the desired web application is running periodically without any errors in SharePoint Central Administration site (Central Administration -> Operations -> Global Configuration --> Timer job status -->Usage Analysis timer job).
  • 'Enable advanced usage analysis processing' and 'Enable search query logging options' in “Usage Reporting” are enabled (Central Administration --> Shared Services Administration -> click the default Shared Services Provider --> Office SharePoint Usage Reporting --> Usage Reporting).

For SharePoint 2013 and SharePoint 2010, also ensure that at least one of the events is enabled in ‘Events to log’ section available under ‘Enable usage data collection’ option.

Note: If you are executing the timer job for the first time, you may have to wait for a day or two after the timer jobs are executed at least once.

Applicable Reports:

Page Hits, Page Hits - Monthly Usage, Site Visitors, Site Visitors - Monthly Usage, Site Hits Summary, Site Hits Summary - Monthly Usage, List Hits, List Hits - Monthly Usage.

More Information

You can refer the following articles for more information on how to configure STS logging in SharePoint:

 

Have more questions? Submit a request

Comments

Powered by Zendesk