Create Packet Capture Session
Create an new packet capture session on given node with specified options
{
"node": "string",
"cappoint": "string",
"capduration": 0,
"capamount": 0,
"capsource": "string",
"filtertype": "string",
"direction": "string",
"capfilesize": 0,
"options": {
"values": [
{
"name": "string",
"value": "string"
}
]
},
"streamport": 0,
"caprate": 0,
"capvalue": "string",
"streamaddress": "string",
"capmode": "string"
}
Define the transport node to capture data.
Define the point to capture data.
Define the packet capture duration time. After the capture duration time, the capture process will stop working.
Define the packet capture amount size.
This type is used to differenite the incoming request from CLI/UI.
Define the capture filter type. Support PRE/POST mode.
Define the capture direction. Support three types INPUT/OUTPUT/DUAL.
Define the packet capture file size limit.
Set the stream port to receive the capture packet.
Define the rate of packet capture process.
Define the capture value of given capture point.
Set the stream address to receive the capture packet.
Define the capture streaming mode. The STREAM mode will send the data to given stream address and port. And the STANDALONE mode will save the capture file in local folder.
OK
{
"sessionid": "string",
"filelocation": "string",
"filesize": 0,
"sessionname": "string",
"errormsg": "string",
"endtime": 0,
"request": {
"node": "string",
"cappoint": "string",
"capduration": 0,
"capamount": 0,
"capsource": "string",
"filtertype": "string",
"direction": "string",
"capfilesize": 0,
"options": {
"values": [
{
"name": "string",
"value": "string"
}
]
},
"streamport": 0,
"caprate": 0,
"capvalue": "string",
"streamaddress": "string",
"capmode": "string"
},
"starttime": 0,
"sessionstatus": "string"
}
Packet capture session id
Packet capture file location
Packet capture file Size in bytes
Packet capture session name
Error messasge in capture
Timestamp when session was stopped in epoch millisecond
Timestamp when session was created in epoch millisecond
Packet capture session status
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}