Policy > Monitoring > Livetrace

Restart a livetrace session

Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/livetraces/<livetrace-id>
Request Headers:
n/a
Query Parameters:
ActionRequest+
Request Body:
n/a

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/livetraces/t01?action=retrace

Successful Response:

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

Example Response:

{ "src_port_path": "/infra/segments/policy_segment/ports/default:0affc6ef-79b5-4a5b-9af8-d3046d101386", "actions": { "trace_config": { "sampling_argument": { "sampling_type": "FirstNSampling", "match_number": 1 }, "trace_type": "UNI_DIRECTIONAL" } }, "filter": { "resource_type": "FieldsFilterData", "ip_info": { "src_ip": "10.185.241.17/24", "dst_ip": "10.185.243.227/24" }, "transport_info": { "protocol": "TCP", "src_port": 16637, "dst_port": 80 } }, "timeout": 10, "resource_type": "LiveTraceConfig", "id": "t01", "display_name": "t01", "path": "/infra/livetraces/t01", "relative_path": "t01", "parent_path": "/infra", "unique_id": "a83eb8a1-13bf-4742-8498-3cb796f96bfd", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1591173698390, "_last_modified_user": "admin", "_last_modified_time": 1591173698390, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_livetrace

Additional Errors: