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.

How can I access my system log information via URL link?

Todd O
Tera Guru

I'm pretty sure there is a way to access my system logs via parameters on my ServiceNow instance but I cannot recall what this is. Can someone provide this detail?

For example, it was something like this ....

http://dev12345.service-now.com/syslog.do??????

I want a full dump of my system log information in xml. Thanks in advance.

Todd

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hi Todd,



To get the XML dump of syslog table, You can use this URL. Make sure you apply proper date filters to reduce the size of file:   https://instance_name.service-now.com/syslog_list.do?XML&sysparm_query=sys_created_onONToday%40javas...



To get the logs in a list view:   https://instance_name.service-now.com/syslog_list.do?sysparm_query=



Replace instance_name with the name of your instance.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

7 REPLIES 7

Matthew Swarts
Tera Guru

Hi Todd,



<YOUR INSTANCENAME>.com/syslog_list.do?sysparm_query=sys_created_onONToday%40javascript%3Ags.daysAgoStart(0)%40javascript%3Ags.daysAgoEnd(0)



Will give you all System Logs created today


Matthew,


Thanks for taking time to post the answer. Also, do you know where I can find documentation on the query strings you have in your example?   E.g., javascript AgoStart / daysAgoEnd? Thanks.


Todd


Hi Todd,



This can be easily grabbed from the breadcrumb of the list view filter by right-clicking the breadcrumb itself all the way at the very last parameter and selecting Copy URL.



find_real_file.png



Copying in this case will give you



<YOUR INSTANCE NAME>.service-now.com/syslog_list.do?sysparm_query=sys_created_onONToday%40javascript%3Ags.daysAgoStart(0)%40javascript%3Ags.daysAgoEnd(0)%5Elevel%3D0


Alikutty A
Tera Sage

Hi Todd,



To get the XML dump of syslog table, You can use this URL. Make sure you apply proper date filters to reduce the size of file:   https://instance_name.service-now.com/syslog_list.do?XML&sysparm_query=sys_created_onONToday%40javas...



To get the logs in a list view:   https://instance_name.service-now.com/syslog_list.do?sysparm_query=



Replace instance_name with the name of your instance.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response