get_dfw_rule_stats
Retrieve packet, byte, and session statistics for a VMware NSX Distributed Firewall rule to monitor traffic patterns and rule effectiveness.
Instructions
Get packet/byte hit-count statistics for a DFW rule.
Returns packet_count, byte_count, session_count, and population_count (number of hosts where the rule is realised).
Args: policy_id: Parent policy identifier. rule_id: Rule identifier. target: Optional NSX Manager target name from config.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | ||
| rule_id | Yes | ||
| target | No |