Policy > Security > East West Security > Distributed IDS > Statistics

Get IDS security policy statistics

Get statistics of a IDS security 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-policies/<ids-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-policies/sp-1/statistics?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

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

Example Response:

{ "results": [ { "enforcement_point": "/infra/sites/default/enforcement-points/default", "statistics": { "internal_section_id": "fcb7390d-8289-4a0e-9cee-5423748cc544", "results": [ { "internal_rule_id": "2024", "packet_count": 3845230, "byte_count": 266243732, "session_count": 57119, "hit_count": 57119 } ], "result_count": 1 } } ], "result_count": 1 }

Required Permissions:

read

Feature:

policy_dfw_ids

Additional Errors: