search_logs
Search Panorama logs for traffic, threat, URL, and more using structured filters and a time window. Returns trimmed entries with a '_why' explanation for blocked events.
Instructions
[READ-ONLY] Searches logs stored on Panorama (traffic, threat, url, wildfire, data, globalprotect, userid, auth, decryption, system) with structured filters and a time window. Returns trimmed entries, each with a '_why' explanation of what blocked it. Structured filters are server-side for traffic/threat/url/wildfire/data/decryption; for other types user and src_ip are matched locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App-ID name (e.g. 'sharepoint-online-uploading') | |
| rule | No | Security rule name | |
| user | No | User name, with or without domain (e.g. 'jdoe' or 'corp\\jdoe') | |
| query | No | Extra raw PAN-OS filter, ANDed (e.g. "( severity geq high )") | |
| action | No | Exact action (allow, deny, drop, block-url, reset-both, ...) | |
| dst_ip | No | Destination IP or CIDR | |
| period | No | Relative time window on receive_time (default: last-24-hrs) | |
| src_ip | No | Source IP or CIDR | |
| dst_port | No | Destination port | |
| end_time | No | Absolute end 'YYYY/MM/DD HH:MM:SS' | |
| firewall | No | Panorama entry from firewalls.json. Optional when a single Panorama is configured. | |
| log_type | Yes | Log type to search | |
| all_fields | No | Return every log field instead of the useful subset | |
| start_time | No | Absolute start 'YYYY/MM/DD HH:MM:SS' (Panorama timezone); overrides period | |
| max_results | No | Maximum entries returned (default: 50) | |
| only_blocked | No | Only non-allowed events | |
| url_contains | No | Substring of the URL (url/threat logs) |