Policy >
Monitoring
>
Livetrace
Read livetrace result
Read result for a livetrace config with the specified identifier.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/livetraces/<livetrace-id>/result
Request Headers:
n/a
Query Parameters:
LiveTraceStatusRequest
+
LiveTraceStatusRequest
(
schema
)
Name
Description
Type
Notes
enforcement_point_path
Enforcement point path
Policy path of enforcement point on which livetrace session was created.
string
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/livetraces/t01/result?enforcement_point_path=/infra/sites/default/enforcement-points/default
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LiveTraceResult
+
LiveTraceResult
(
schema
)
Name
Description
Type
Notes
id
ID of a livetrace session
The id is assigned by Livetrace and cannot be specified by user.
string
Required
Readonly
pktcap_results
PktCap action results
array of
PktCapResult
trace_results
Trace action observation list results
array of
TraceResult
Example Response:
{ "id": "/infra/livetraces/t01", "trace_results": [ { "packet_id": "1", "direction": "FORWARD", "result_overflowed": false, "counters": { "received_count": 1, "delivered_count": 0, "dropped_count": 0, "forwarded_count": 0 }, "logical_counters": { "received_count": 0, "delivered_count": 0, "dropped_count": 0, "forwarded_count": 0 }, "observations": [ { "resource_type": "TraceflowObservationReceived", "sequence_no": 0, "transport_node_id": "8f9ec2bc-984f-4eab-a236-f48c6c98d6d0", "transport_node_name": "wdc-rdops-vm05-dhcp-32-199.eng.vmware.com", "transport_node_type": "ESX", "timestamp": 1591173699154, "timestamp_micro": 1591173699154362, "component_type": "PHYSICAL", "component_sub_type": "UNKNOWN", "component_name": "Physical" } ] } ] }
Required Permissions:
crud
Feature:
policy_livetrace
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable