get_sys_log
Retrieve system log entries for debugging or auditing. Set app_scope=true to access scoped-application log output from gs.info()/gs.log().
Instructions
Retrieve system log entries for debugging or auditing. Set app_scope=true to read the scoped-application log (syslog_app_scope), where scoped gs.info()/gs.log() output lands, instead of the global syslog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries (default: 20) | |
| query | No | Filter (e.g., "level=error^sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()") | |
| app_scope | No | Read syslog_app_scope (scoped-app log output) instead of the global syslog. |