List and inspect ServiceNow system log entries from the terminal to diagnose warnings and failures.
| Command | What it does |
|---|---|
jsn logs list --limit 3 | Find matching log entries |
jsn logs follow --level error --tail 3 --interval 500 | Tail new errors until stopped |
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]jsn logs follow --level error --tail 3 --interval 500
[jsn logs follow] watching syslog every 500ms — Ctrl+C to stopInstall, point it at your instance, then run this feature.
npm install -g @jacebenson/jsn jsn setup jsn logs list --limit 3Full setup guide & skill docs →