get_logs
Retrieve ServiceNow logs filtered by type and criteria such as timeframe, source, or message content.
Instructions
Query ServiceNow logs. log_type: system/journal/transaction/background. Max 20 rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | [background] Execution name LIKE | |
| level | No | [system] error|warning|info|debug | |
| limit | No | ||
| query | No | ||
| state | No | [background] running|complete|cancelled | |
| table | No | ||
| offset | No | ||
| source | No | [system/background] Source LIKE | |
| contains | No | Text search (message/value) | |
| log_type | Yes | Log type | |
| timeframe | No | Time filter | last_24h |
| created_by | No | [journal/transaction] User filter | |
| field_name | No | [journal] work_notes|comments | |
| url_contains | No | [transaction] URL LIKE | |
| record_sys_id | No | [journal] Record sys_id | |
| max_text_length | No | ||
| response_status | No | [transaction] HTTP status | |
| min_response_time_ms | No |