Capture Session
Capture Session lies under the SSID profile management of troubleshooting. It allows you to configure the ways in which you want to capture packet traces. Wireless Manager automatically captures packet traces when an AP detects connection failure. To access the packet traces that have been captured, you need to access it from connection logs under Mojo Aware. For each client, a minimum number of five latest traces are retained. The file names of the traces depend on the MAC address of the client, the AP VAP and the timestamp of the packet capture session.
/V5/connectionlogs/sessions/{sessionId}
/V5/connectionlogs/sessions
V5/connectionlogs/session/{startIndex}/{pageSize}
V5/connectionlogs/sessions/{sessionId}/logs
/V5/packetcaptures/sessions
/V5/packetcaptures/sessions/{sessionId}
/V5/packetcaptures/sessions/{sessionId}/capturefiles
/V5/connectionlogs/sessions
/V5/connectionlogs/sessions/{sessionId}
/V5/packetcaptures/sessions
/V5/packetcaptures/sessions/{sessionId}
/V5/packetcaptures/sessions/{sessionId}
/V5/connectionlogs/sessions/{sessionId}
Parameter | Data Type | Description |
---|---|---|
type | String | . |
captureType | String | . |
deviceType | String | The applicable values are: DEVICE_AP, DEVICE_CLIENT and DEVICE_AIRTIGHT (sensor). |
startTime | int | The time when the capture/log session was started. |
stopTime | int | The time when the capture/log session was stopped. |
fileName | String | The name of the file. |
state | String | The session status. |
omnipeekCommand | String | The omnipeek command for the packet capture. |
wiresharkCommand | String | The wireshark command for the packet capture. |
sessionId | int | The ID of the capture/log session. |
capturingDeviceMacaddress | String | The MAC address of the device capturing the packet. |
deviceProtocol | String | The protocol of the device. For DEVICE_AP this is set to the protocol of the device. For example, A. For DEVICE_AIRTIGHT this is set to SENSOR and for DEVICE_CLIENT this is set to CLIENT. |
dviceMacaddress | String | The MAC address of the device. |
{ "type": "clientconnectionlog", "captureType": "CONNECTION", "deviceType": "DEVICE_CLIENT", "startTime": 1519118098620, "stopTime": 0, "fileName": "cl_40:33:1A:59:F4:40_20180220091458620900.log", "locationId": { "type": "locallocationid", "id": 1 }, "packetTraceType": "NOT_APPLICABLE", "state": "RUNNING", "fileSize": 0, "sessionId": 2, "capturingDeviceMacAddress": null, "deviceProtocol": "CLIENT", "deviceMacaddress": "40:33:1A:59:F4:40" }