NSX-T Data Center REST API

Get bridge firewall policy statistics

Get statistics of a bridge firewall policy.
- no enforcement point path specified: Stats will be evaluated on each enforcement.
point.
- {enforcement_point_path}: Stats are evaluated only on the given enforcement point.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/statistics
Request Headers:
n/a
Query Parameters:
StatisticsRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/domains/default/bridge-policies/bridge_firewall_policy_test/statistics

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SecurityPolicyStatisticsListResult+

Example Response:

{ "results" : [ { "enforcement_point": "/infra/sites/default/enforcement-points/default", "statistics": { "internal_section_id": "3a747c65-90e3-440b-9134-7b88b47fe8d9", "segment_path": "/infra/segments/segment_test", "results": [ { "internal_rule_id": "1001", "packet_count": 3806, "byte_count": 322989, "session_count": 819, "hit_count": 45, "l7_accept_count": 0, "l7_reject_count": 0, "l7_reject_with_response_count": 0, "popularity_index": 85, "max_popularity_index": 85, "max_session_count": 819, "total_session_count": 881 }, { "internal_rule_id": "1002", "packet_count": 8762, "byte_count": 76201, "session_count": 62, "hit_count": 45, "l7_accept_count": 0, "l7_reject_count": 0, "l7_reject_with_response_count": 0, "popularity_index": 13, "max_popularity_index": 85, "max_session_count": 819, "total_session_count": 881 } ], "result_count": 2 } } ], "result_count" : 1 }

Required Permissions:

read

Feature:

policy_edge_fw

Additional Errors: