Monitor ServiceNow system logs from the CLI — jsn

List and inspect ServiceNow system log entries from the terminal to diagnose warnings and failures.

How do I monitor ServiceNow system logs from a terminal? List and inspect ServiceNow system log entries from the terminal to diagnose warnings and failures. JSN gives you a direct terminal workflow instead of requiring the ServiceNow web interface for every inspection or change.
CommandWhat it does
jsn logs list --limit 3Find matching log entries
jsn logs follow --level error --tail 3 --interval 500Tail new errors until stopped
jsn logs list
jsn logs list --limit 3 --json

3 log entry(s)

Warning  QueryEventLogger  Invalid query detected, please check logs for details [Unknown field name in table sys_ui_policy]
Error    sn_codesearch     Search table record for null in search group sn_devstudio.Studio Search Group
Warning  QueryEventLogger  Invalid query detected, please check logs for details [Unknown field duration in table sys_flow_context]
▼ next screen
jsn logs follow --level error --tail 3 --interval 500

[jsn logs follow] watching syslog every 500ms — Ctrl+C to stop

Get started

Install, point it at your instance, then run this feature.

npm install -g @jacebenson/jsn
jsn setup
jsn logs list --limit 3
Full setup guide & skill docs →

← All features