Manage capture sessions of the system
Path: /capture_sessions
Method: GET
Minimum user role: viewer
Response:
[
{
"id": 1,
"capture_enabled": false,
"name": "Port 1 Capture Session",
"colour": "008000",
"settings": {
"enable_stage4": true,
"enable_l2_tag_correlation": false,
"enable_reordering": false
},
"interfaces": [
1
],
"queue_size": 5
}
]id - unique ID of the capture sessioncapture_enabled - if capture is enabled for this capture sessionname - name of the capture sessioncolour - colour of the label of this capture session; only the following colours are allowed: ['007bff', '1034a6', '1111e8', '000080', '6a5acd', 'b14b34', 'c62e69', 'ff00ff', '14452f', '3c206e', '260069']settings - settings to be passed to the analyzer (flow-tracker)interfaces - interfaces, attached to this capture session; the number of interfaces in a single capture session is limited by the configured number of concurrent capture ports (1-4, default: 4), see System Resourcesqueue_size - total size of all flow-tracker input queues which belong the session interfaces/capture_sessionsPOSToperatorcapture_session object without idcapture_session object with id or errorid ignored if presented in the request bodyname, colourinterfaces can not include the interfaces which belong other session in a running state (capture_enabled is true)interfaces which belong to the other session in non-running state (capture_enabled is false) will be moved from other session to this one/capture_sessions/{ID}PUToperatorcapture_session object with the fields to be changedcapture_session object or errorid cannot be changed in any waycapture_enabled is true): settings, interfacescapture_enabled is true): name, colourinterfaces can not include the interfaces which belong other session in a running state (capture_enabled is true)interfaces which belong to the other session in non-running state (capture_enabled is false) will be moved from other session to this onecapture_enabled to true/false)/capture_sessions/{ID}DELETEoperatorcapture_enabled must be false)