get_dfw_rule_stats
Retrieve packet, byte, and session hit-count statistics for a DFW rule, including the number of hosts where the rule is active.
Instructions
[READ] 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
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | ||
| rule_id | Yes | ||
| target | No |