Policy > Security > North South Security > Gateway IDS > Statistics

Get IDS gateway policy statistics

Get statistics of a IDS gateway 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.
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>/intrusion-service-gateway-policies/<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/web-domain/intrusion-service-gateway-policies/emergency/statistics?enforcement_point_path=/infra/deployment-zones/default/enforcement-points/ep1

Successful Response:

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

Example Response:

{ "results" : [ { "rule": "ce-1", "internal_rule_id": "1001", "packet_count": 3806, "session_count": 819, "hit_count": 45, "byte_count": 322989, "popularity_index": 85, "max_popularity_index": 85, "max_session_count": 819, "total_session_count": 881 }, { "rule": "ce-2", "internal_rule_id": "1002", "packet_count": 8762, "session_count": 62, "hit_count": 45, "byte_count": 76201, "popularity_index": 13, "max_popularity_index": 85, "max_session_count": 819, "total_session_count": 881 } ], "cursor" : 1, "result_count" : 2 }

Required Permissions:

read

Feature:

policy_gfw_ids

Additional Errors: