AI Search event and action logs for AI Search usage in Recommended Actions

  • Release version: Australia
  • Updated March 12, 2026
  • 3 minutes to read
  • Summarize
    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 track user interactions and search activities to provide insights for analytics dashboards. This logging captures search queries, results, and user actions, enabling effective monitoring of AI search performance within ServiceNow.

    Show full answer Show less

    Key Features

    • Search Event Logging: Captures events related to search queries, results, and user actions, queuing them before processing into dedicated tables.
    • Event Logging Triggers: Logs details such as query changes and applied filters to ensure comprehensive tracking of user interactions.
    • Search Result Action Logging: Records user interactions with search results, distinguishing between different result types and preventing duplication of actions.
    • Custom Action Logging: For custom actions, a structured payload is required to log detailed action-related data, enhancing the analytics capabilities.

    Key Outcomes

    The logged data supports the creation of AI search analytics dashboards, allowing you to analyze user interactions effectively. By selecting the appropriate configuration in the application, you can access CSM workspace-related AI Search usage data. Proper configuration of custom action payloads is essential for obtaining detailed insights into user engagement with search functionalities.

    AI search event and action logs capture user interactions and search activities, providing data for AI search analytics dashboards.

    Search event and action logs

    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.

      For more information on the preceding tables, see Search Suggestions tables.

    • 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.

      • 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.

      For more information on the preceding tables, see Search signal tables.

    • 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. 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.

    Custom action log 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.