Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Understand loggin for traceability in platform.

prachikomal
ServiceNow Employee

Hi team,
We have an application on the servicenow platform, which is currently in development phase- goal is to assess how logs can be captured, structured, and stored centrally within the platform for better traceability and analysis.
Currently, the application relies on browser-based console logging (console.log, console.warn, console.error) to capture warning and error messages. These logs are ephemeral, not persisted, and lack centralized visibility, making debugging and monitoring difficult in non-development environments.

Also, I want to understand if there are any time periods for which the logs will be persisted for in syslog or other tables per instance.
I also want to understand options for forwarding logs to external systems like Splunk



1 ACCEPTED SOLUTION

Hi @prachikomal ,

 

We can modify the time but keep in mind that it will impact the instance because logs are generated in huge numbers , but if this is fine for you , then you can go to sys_auto_flush table and there you can search for the syslog table and change the time from there change the age in seconds

Screenshot 2026-04-08 at 11.35.45 AM.png

 

Now coming to second question , Yes the logs are at instance level.

And coming to send the log to the Splunk you can you scripted rest API's and if you want to send only to splunk then ServiceNow has an app built and it is free of cost this will help in your case.
Store link : "https://store.servicenow.com/store/app/890cab2e1b246a50a85b16db234bcb17"


Useful article for choices of sending data from ServiceNow to other systems , link : "https://www.servicenow.com/community/servicenow-ai-platform-articles/data-integrations-from-and-to-s...

 

If this helped you please do mark it as helpful and accept the solution

 

Thanks,

Vishnu

 

View solution in original post

5 REPLIES 5