{"type":"api","title":"Get Connection Statistics","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Real-Time Monitoring - Device Control"],"description":"Get connection statistics from device (Real Time)","operationId":"getConnectionStatistics","parameters":[{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Connection statistics":{"description":"Connection statistics","value":{"data":[{"rx_challenge":"14","challenge_failures":"0","vdevice-name":"169.254.10.10","tx_dtls_handshake":"21","tx_register_replies":"0","rx_challenge_ack":"14","tx_octets":"24918292","rx_registers":"0","tx_dtls_handshake_failures":"7","tx_vmanage_to_peer":"0","tx_pkts":"330231","tx_blocked":"0","tx_dtls_handshake_done":"14","rx_octets":"50924456","tx_error":"0","bid_failures_needing_reset":"0","rx_error":"0","rx_dtls_handshake_done":"0","tx_challenge_ack_error":"0","rx_challenge_resp":"0","tx_challenge_error":"0","tx_challenge_resp_error":"0","tx_register_to_vmanage":"4","tx_challenge":"0","rx_connects":"0","tx_registers":"15","rx_pkts":"347847","tx_connects":"0","tx_challenge_gen_error":"0","rx_register_to_vmanage":"0","vdevice-host-name":"vm3","tx_hello":"212412","tx_challenge_ack":"0","rx_hello":"212399","tx_challenge_resp":"14","rx_dtls_handshake":"0","vdevice-dataKey":"169.254.10.10","lastupdated":1642730071268,"rx_dtls_handshake_failures":"0","rx_register_replies":"15","rx_vmanage_to_peer":"4"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"System-read,System-write,Security-read,Security-write","method":"get","path":"/device/control/statistics"}}