get_traffic_logs
Retrieve recent firewall traffic logs with optional filter queries and result limits to inspect network activity and troubleshoot BGP/IPsec issues.
Instructions
[READ-ONLY] Retrieves recent traffic 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., '( addr.src in 10.0.0.0/8 )') | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. |