---
sourceDocument: Zurich ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/zurich/platform-administration

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Debug search source and content security filters

# Debug search source and content security filters {#ariaid-title1}

* Release version: Zurich
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Use the Session Log to view search source and content security filters applied to results for a search query. Administrators can use this approach to verify search source filters and content security settings.

## Before you begin

Role required: admin

## About this task

Enable session debugging for AI Search to view debug log messages for search source and content security filters. Each debug log message shows the filters that AI Search applies to determine which records appear in a search query's results.

## Procedure

1. To enable session debugging for AI Search, navigate to AllSystem DiagnosticsSession DebugDebug AI Search.
2. Navigate to AllSystem DiagnosticsSession DebugDebug Log.  
   The Session Log opens.
3. Use the [Search Preview UI for AI Search](https://www.servicenow.com/docs/tOD0BRYTda_dEGSET6HSvA#ai-search-preview "The Search Preview UI enables you to test AI Search queries using settings from a selected search profile. Administrator tools help you review search query performance data and feedback, debug queries, and override default query settings for testing purposes.") to submit the search query of interest.  
   Note:  
   To debug content security filters for another user, specify their name in the Search Preview UI's user impersonation tool.
4. To see the search source filters applied for your search queries, filter the Session Log entries for <kbd class="ph userinput">AIS:search sources</kbd>.  
5. To see the content security filters applied when evaluating access to search results for the current (or impersonated) ServiceNow AI Platform® user, filter the Session Log entries for <kbd class="ph userinput">security query</kbd>.  

## What to do next

If a search source's filters exclude records that should be searchable, modify those filters. For details, see [Create a search source for AI Search](https://www.servicenow.com/docs/UAnG3ByD5Vc_89ILqBAh_g "Make searchable content from an indexed source available in user search experiences by defining a search source.").

If content security filters prevent the user from seeing search results that should be accessible, correct the access control settings for the affected source records and then reindex content for the relevant indexed source. For
details on content security settings, see [Content security in AI Search](https://www.servicenow.com/docs/1S3UWz3IDDb87FhL1xg89g "AI Search filters search query results and displays only records that the currently logged in user can access."). To reindex content, follow the steps from [Perform a full table index or reindex for a single AI Search indexed source](https://www.servicenow.com/docs/ODekhkNc2DzQ7AL74VF9HA "Make content from an internal indexed source searchable by performing a full table index. This procedure indexes existing records from the source table and any child tables configured for indexing. You can manually reindex content from an internal indexed source by repeating this procedure.").

*[\>]: and then


