Management Plane API >
Networking
>
Logical Bridging
>
Bridge Endpoints
Returns statistics of a specified Bridge Endpoint
Get the statistics for the Bridge Endpoint of the given Endpoint id (endpoint-id)
Request:
Method:
GET
URI Path(s):
/api/v1/bridge-endpoints/<endpoint-id>/statistics
Request Headers:
n/a
Query Parameters:
DataSourceParameters
+
DataSourceParameters
(
schema
)
Name
Description
Type
Notes
source
The data source, either realtime or cached. If not provided, cached data is returned.
DataSourceType
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/bridge-endpoints/15269939-779a-4fa4-9a0a-792dbf9fac12/statistics
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
BridgeEndpointStatistics
+
BridgeEndpointStatistics
(
schema
)
Name
Description
Type
Notes
endpoint_id
The id of the bridge endpoint
string
Required
Readonly
last_update_timestamp
Timestamp when the data was last updated; unset if data source has never updated the data.
EpochMsTimestamp
Readonly
rx_bytes
DataCounter
Readonly
rx_packets
DataCounter
Readonly
tx_bytes
DataCounter
Readonly
tx_packets
DataCounter
Readonly
Example Response:
{ "tx_packets": { "total": 159, "dropped": 0, "multicast_broadcast": 0 }, "rx_bytes": { "total": 1028, "multicast_broadcast": 0 }, "tx_bytes": { "total": 10438, "multicast_broadcast": 0 }, "rx_packets": { "total": 11, "dropped": 0, "multicast_broadcast": 0 }, "last_update_timestamp": 1457518122686, "endpoint_id": "15269939-779a-4fa4-9a0a-792dbf9fac12" }
Required Permissions:
read
Feature:
aggregation_service_health_monitoring
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable