get_policy_stats
Retrieve hit counts, bytes, packets, and last-used time for FortiGate firewall policies, optionally filtered by VDOM or policy ID.
Instructions
Hit counts, bytes, packets and last-used time per policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| policyid | No | Limit to one policy (optional) |