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

Get IDS/IPS rule statistics

Get statistics of a IDS/IPS 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>/intrusion-service-policies/<ids-policy-id>/rules/<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/web-domain/intrusion-service-policies/pol-6/rules/Test-Rule21/statistics?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

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

Example Response:

{ "results": [ { "enforcement_point": "/infra/sites/default/enforcement-points/default", "statistics": { "rule": "/infra/domains/default/intrusion-service-policies/pol-6/rules/Test-Rule21", "internal_rule_id": "3049", "packet_count": 0, "byte_count": 0, "session_count": 0, "hit_count": 0 } } ], "result_count": 1 }

Required Permissions:

read

Feature:

policy_dfw_ids

Additional Errors: