NSX-T Data Center REST API
Get forwarding rule statistics.
Get aggregated statistics of Forwarding Policy Rule.Stats include total number of packets and total number of bytes for the rule.
- 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
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/domains/<domain-id>/forwarding-policies/<forwarding-policy-id>/rules/<forwarding-rule-id>/statistics
                  
              
            Request Headers:
                n/a
            Query Parameters:
    StatisticsRequestParameters+
  Request Body:
    n/a
  Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/domains/domain-1/forwarding-policies/pol-1 /rules/rule-21/statistics?enforcement_point_path=/infra/sites/default/enforcement-points/defaultSuccessful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    ForwardingRuleStatisticsListResult+
  