Websocket Samples
Org Insight
Subscribe to Org Insight Stream
Websocket Endpoint
WS /api-ws/v1/streamSubscribe Command
{
"subscribe": "/orgs/{org_id}/insights/summary"
}Streamed Data Sample
{
"event": "data",
"channel": "/orgs/67970e46-4e12-11e6-9188-0242ac110007/insights/summary",
"data": {
"sle_summary_wireless": 0.90,
"sle_summary_wired": 0.93,
"sle_summary_wan": 0.91,
"timestamp": 1737004147, // epoch time
"num_sites": 2350, // total sites
"num_degraded_sites": 31, // if aggregated SLE scores < 80%
"num_aps": 2669, // APs claimed
"num_disconnected_aps": 75, // APs not considered connected
"num_switches": 2669, // switches claimed
"num_disconnected_switches": 75, // switches not considered connected
"num_gateways": 2669, // gateways claimed
"num_disconnected_gateways": 75, // gateways not considered connected
"num_mxedges": 2669, // mxedges claimed
"num_disconnected_mxedges": 75, // mxedges not considered connected
"num_active_wan_tunnels": 125, // total number of active wan tunnels
"num_inactive_wan_tunnels": 25, // total number of inactive wan tunnels
"num_mxtunnels": 5262, // total number of expected mxtunnels
"num_inactive_mxtunnels": 35, // inactive mxtunnels
"num_vpn_peers": 1351, // total number of expected vpn tunnels/paths
"num_inactive_vpn_peers": 1351, // inactive vpn tunnels/paths
// count of recent clients
"num_clients": 12616,
"num_wired_clients": 3126,
"num_wan_clients": 16600,
"num_nac_clients": 4347,
// count of authentication (unique by client mac)
"num_client_auth": 6013,
"num_wired_client_auth": 1013,
"num_nac_client_auth": 1355,
//Alerts
"num_marvis_alerts": 100,
"num_infra_alerts": 58,
"num_security_alerts": 10,
//Events
"num_device_events": 150,
"num_client_events": 200
}
}