get_system_logs
Retrieve recent firewall system logs via the PanOS API, filtered by query and result count, to troubleshoot critical events.
Instructions
[READ-ONLY] Retrieves recent system logs from the firewall using the PanOS log API (type=log). Supports filtering by query and limiting result count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nlogs | No | Number of logs to retrieve (default: 20, max: 5000) | |
| query | No | Filter query (e.g., '( severity eq critical )') | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. |