Policy > Networking > Connectivity > Segments > Statistics

Get infra segment statistics information

Get infra segment statistics information.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/segments/{segments-id}/statistics
/policy/api/v1/global-infra/segments/{segments-id}/statistics
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segments/{segments-id}/statistics
Request Headers:
n/a
Query Parameters:
L2L3RuntimeRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/segments/tier0-ls/statistics?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

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

Example Response:

{ "rx_packets": { "dropped": 0, "total": 13 }, "rx_bytes": { "total": 642 }, "tx_packets": { "dropped": 0, "total": 0 }, "tx_bytes": { "total": 0 }, "logical_switch_id": "8ff845d2-06a4-47d5-adb2-dd386053e88d", "last_update_timestamp": 1548964270603 }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: