---
sourceDocument: Yokohama Customer Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/customer-service-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# AI Search event and action logs for AI Search usage

# AI Search event and action logs for AI Search usage in Recommended Actions {#ariaid-title1}

* Release version: Yokohama
* 
* Updated October 22, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of AI Search Event and Action Logs for AI Search Usage in Recommended Actions

AI Search event and action logs capture user interactions and search activities, essential for analytics on AI Search within ServiceNow.
These logs are pivotal for understanding how users engage with search features and results, enabling better decision-making and enhancements in search functionalities.
Show full answer Show less  

## Key Features

* **Search Event Logging:** User interactions, including search queries, results, and actions, are queued and processed into dedicated tables for analytics.
* **Event Logging Triggers:** Events are recorded for changes in queries, sources of results, and applied filters, ensuring a comprehensive capture of all user interactions.
* **Search Result Action Logging:** Distinct tables log user actions on search results, allowing tracking of normal and genius result interactions.
* **Custom Action Logging:** Custom actions require specific payload structures for logging, ensuring detailed analytics on user interactions with guided previews.

## Key Outcomes

By utilizing these logs, ServiceNow customers can populate AI search analytics dashboards, either prebuilt or custom, to effectively analyze user interactions. This data can drive insights for improving search functionalities and user experiences. Customers can access CSM workspace-related AI Search usage through the analytics dashboard, enhancing understanding of user behavior in search contexts.  
AI search event and action logs capture user interactions and search activities, providing data for AI search analytics dashboards.

## Search event and action logs {#ra-ai-search-event-logs__click-and-action-event-logging}

The logging of search-related events within a search system focuses on how search queries, results, and user interactions are recorded in various tables for analytics purposes.

* Search event logging: The search events logging, including search queries, results, and user actions, by queuing events and processing them into dedicated tables. The search events are queued in the Queued Signal Events table first and then when they're processed, they're moved into the search events table.
* Event logging triggers: The search events, search source events, and search signal events tables capture details like query changes, sources of results, and applied facet filters. The logging occurs not only when searches happen but also when filters, facets, or sorts are applied, ensuring comprehensive capture of user interactions with search features.Events are queued and then processed into the following tables:

  * Search Events table \[sys_search_event\]: Logs search queries, user info, and result status.
  * Search Source Events table \[sys_search_source_event\]: Captures the origin of the query (for example, catalog item).
  * Search Signal Events table \[sys_search_signal_event\]: Logs facet filters the facet filters applied on the results for a search query and source mappings.

  {#ra-ai-search-event-logs__ul_swm_psc_jhc}

  For more information on the preceding tables, see [Search Suggestions tables](https://www.servicenow.com/docs/access?context=understanding-search-suggestion-tables&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US).
* Search result action logging: Separate tables exist for logging clicks and actions on search results, including distinctions between normal and genius result actions, with multiple entries for multiple actions on a single source. When you interact with a search result, such as clicking on a link or performing an action, these actions are recorded. For the preview experience, actions like drill down are automatically logged to avoid duplication. This data is then used to populate analytics dashboards, either prebuilt or custom, enabling you to track and analyze the interactions with search results effectively.For custom guidances, you must emit the log search result
  event with the appropriate payload structure, which includes action-related data. Emitting action details in the payload is optional. Without it, events are still logged but lack specific action information, preventing
  duplication by using unique action IDs. Custom guidance actions require emitting events with a provided payload structure to log action details, while out-of-the-box guidances handle this automatically. For payload structure,
  see [Custom action log payload structure](https://www.servicenow.com/docs/bX1~lKHiS6SrqAcHNGGFZg#ra-ai-search-event-logs__custom-action-logging-payload-structure).

  * Search Result Events table \[sys_search_signal_result_event\]: Stores signal data for search results that you select.
  * Search Result Event Actions table \[sys_search_signal_result_event_action\]: Stores signal data for user interactions with search results.
  * Genius Result Actions table \[sys_search_genius_result_event_action\]: Stores signal data for user interactions with Genius Result answer cards.

  {#ra-ai-search-event-logs__ul_mhm_dtc_jhc}

  For more information on the preceding tables, see [Search signal tables](https://www.servicenow.com/docs/access?context=search-signal-tables&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US).
* AI search analytics: The logged data is then used to populate the AI search analytics dashboards, either prebuilt or custom, enabling you to track and analyze the interactions with search results effectively. For more information on the AI search analytics dashboard, see [AI Search
  analytics dashboard](https://www.servicenow.com/docs/access?context=ai-search-analytics-dashboard&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US). You can view the CSM workspace-related AI Search usage within Recommended Actions in the AI Search Analytics dashboard by selecting the \[CSM AIS\] Configurable Workspace Search Config option in the application drop-down on the top-right.
{#ra-ai-search-event-logs__ul_pz4_msc_jhc}

## Custom action log payload structure {#ra-ai-search-event-logs__custom-action-logging-payload-structure}

For custom action logging, that is, for the action you create on a guidance preview experience, you must emit an event with a payload structure that includes action-related data. Other common fields such as applied filters and views
are handled by the system. If the payload is empty, the event will still be logged, but the action details won't be available. This structured payload is crucial for building detailed analytics dashboards, as it provides specific
information about user interactions with custom actions.  

    api.emit(LOG_SEARCH_RESULT_EVENT, {actionData: {actionName: actionId}})

For more details on how to configure the payload for custom actions, see [Customize a guidance preview experience in the UI Builder](https://www.servicenow.com/docs/pU22MaNUyUV~ctmr~nhseg "Customize a preview of a Recommended Actions card that displays in the contextual side panel using UI Builder. The preview experience includes a hint, an icon, a message, and an action button.").

