Is there a way to log the search result of a custom table?

Mel A
Tera Expert

Similar to the attached screenshot, i want the searches on my custom table be logged to sys_search_event_list, whether search is made in the portal, on the platform or in the agent workspace. Is there a way to this?

1 ACCEPTED SOLUTION

Hi @Mel A ,

I believe you can use "sys_search_source_event" table, which is present as "Search Events per source"

The Search Event per source [sys_search_source_event] table stores records correlating search strings with results from a specific table, here called a data source. A search can query multiple tables. The sys_search_event table lists one record for the entire search, while the sys_search_source_event table lists one record for each data source (table) queried.

For more details, visit this:

https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/search-admini...

 

Although, its not recommended to build reports on the system tables, but if you can break down the number of records with filter condition, that can workout.

https://docs.servicenow.com/bundle/tokyo-now-intelligence/page/use/reporting/concept/c_ReportOnSyste...

 

Best Regards
Aman Kumar

View solution in original post

6 REPLIES 6

I am marking this correct because as you mentioned, this is oob. Found this also for text search https://www.servicenow.com/community/csm-forum/is-there-a-log-for-the-global-text-search/m-p/411645

 

Thank you.

 

 

Thanks for sharing @Mel A ,

Appreciate it!

 

Best Regards
Aman Kumar