Enable query logging in SharePoint Server 2013


Applies to: SharePoint Server 2013

Topic Last Modified: 2016-12-16

Summary: Learn how to enable or disable query logging.

SharePoint 2013 search collects information about user search queries and search results that users select on their computers. SharePoint 2013 uses this information to improve the relevance of search results and to improve query suggestions. Site collection administrators, tenant administrators and administrators of the Search service application can also create reports based on this information. Query logging is enabled by default. Use this procedure to enable or disable query logging.

In this article:

SharePoint 2013 runs as websites in Internet Information Services (IIS), and administrators and users therefore require the accessibility features that browsers provide. For more information, see:

Before you begin this operation, review the following information about prerequisites:

  • Create a Search service application

To enable or disable query logging
  1. Verify that the user account performing this procedure is an administrator for the Search service application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, click the Search service application for which you want to configure query logging.

  4. On the Search Administration page, in the System Status section, locate Query logging.

  5. The Query logging status displays as Off Enable or On Disable.

  6. By default, query logging is turned On. Click Disable to turn off query logging or click Enable to turn on query logging.

The option is set and no other actions are necessary. User search queries and user selected results will no longer be logged if you clicked Disable, or will now be logged if you clicked Enable.