How to view rule usage for policy rules pushed to a device
group from Panorama.
As your policies change, tracking rule usage
on Panorama helps you evaluate whether your policy implementation
continues to match your enforcement needs. This visibility helps
you identify and remove unused rules to reduce security risks and
keep your policy rule base organized. Additionally, rule usage tracking allows
you to quickly validate new rule additions and rule changes and
to monitor rule usage for operations and troubleshooting tasks.
On Panorama, you can view the rule usage of firewalls in a device
group—to which you pushed policies—to determine if all, some, or
none of the firewalls have traffic matches instead of being able
to monitor only the total number of hits across all firewalls in
a device group. You can quickly filter rules using the rule usage
data, such as Created and Modified dates, within a customizable
time frame. The displayed rule usage information persists across
reboot, dataplane restarts, and upgrades.
On Panorama, you
can view the rule usage details for managed firewalls that are running
a PAN-OS 8.1 or later release, that have policy rule hit count enabled
(default), and for which you have defined and pushed policy rules
using device groups. Panorama cannot retrieve rule usage details
for policy rules configured locally on the firewall so you must
log in to the firewall to view rule usage information for locally
configured rules.
After filtering your policy rulebase, administrators
can take action to delete, disable, enable, and tag policy rules
directly from the policy optimizer. For example, you can filter
for unused rules and then tag them for review to determine whether
they can be safely deleted or kept in the rulebase. By enabling
administrators to take action directly from the policy optimizer,
you reduce the management overhead required to further assist in
simplifying your rule lifecycle management and ensure that your
firewalls are not over-provisioned.
Policy rule usage
data may also be useful when using
Policy Optimizer to prioritize
which rules to migrate or clean up first.
Policy rule usage data is not preserved when you
transition to a different Panorama model.
This means that all existing policy rule usage data from the old Panorama is no
longer displayed after a successful migration to a new Panorama model. After a
successful migration, Panorama begins tracking policy rule usage data based on
the date the migration was completed. For example, the
Created date displays the date the migration
was completed.
To view the
rule usage across any Shared rule or for a specific device group: