get_dfw_rule_stats
Retrieve packet, byte, session, and hit counts along with popularity index for a distributed firewall rule. Requires policy and rule IDs.
Instructions
[READ] Get packet/byte hit-count statistics for a DFW rule.
Returns packet_count, byte_count, session_count, hit_count, and popularity_index (real NSX RuleStatistics fields).
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 |