NSX-T Data Center REST API
Query historical dataplane statistics from dp-stats.log
Queries historical dataplane statistics from dp-stats.log files. Supports filtering by time range and selecting specific metrics.
The dp-stats.log file contains periodic snapshots of dataplane statistics including CPU usage per core, packet rates, and physical port statistics.
Object ID formats (use type.id from /adf/metrics):
- dpdk_core.X: Individual DPDK core (all edge_cpu.* metrics)
- non_dpdk_core.X: Non-DPDK core (edge_cpu.usage only)
- port.fp-ethX: Physical port (edge_nic.* metrics)
Key formats:
- edge_cpu.*: CPU metrics (usage, rx_pps, tx_pps, hit_rates)
- edge_nic.*: NIC metrics (rx/tx bytes, packets, errors, throughput)
Request:
Method:
POST
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/services/dataplane/adf/filter
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AdfFilterRequest+
Example Request:
{ "object_ids": ["dpdk_core.0", "dpdk_core.1", "non_dpdk_core.2", "port.fp-eth0"], "keys": [ "edge_cpu.usage", "edge_cpu.rx_pps", "edge_nic.rx_packets", "edge_nic.rx_throughput" ], "start_time": 1603971420, "end_time": 1603973420 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AdfFilterResponse+