Management Plane API > Troubleshooting And Monitoring > Traceflow

List all Traceflow rounds

List all Traceflow rounds; if a logical port id is given as a query parameter,
only those originated from the logical port are returned.

Request:

Method:
GET
URI Path(s):
/api/v1/traceflows
Request Headers:
n/a
Query Parameters:
TraceflowListParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/traceflows

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "logical_port_id", "result_count": 2, "results": [ { "lport_id": "65b9eb3d-0daa-42fc-a17d-15671d3f4ed3", "counters": { "forwarded_count": 2, "delivered_count": 1, "received_count": 3, "dropped_count": 0 }, "logical_counters": { "forwarded_count": 4, "delivered_count": 0, "received_count": 6, "dropped_count": 1 }, "operation_state": "FINISHED", "id": "16799efb-d257-490c-a14c-b59735c30aae", "result_overflowed": false, "timeout": 10000 }, { "lport_id": "e115ed0e-ad27-4a48-a172-353faa544daa", "counters": { "forwarded_count": 0, "delivered_count": 0, "received_count": 0, "dropped_count": 0 }, "logical_counters": { "forwarded_count": 0, "delivered_count": 0, "received_count": 0, "dropped_count": 0 }, "operation_state": "FINISHED", "id": "5b48b93a-6d84-474b-aa78-c32b20ba1be4", "result_overflowed": false, "timeout": 10000 } ] }

Required Permissions:

read

Feature:

tools_traceflow

Additional Errors: