searchOrgTunnelsStats

GET https://{{host}}/api/v1/orgs/:org_id/stats/tunnels/search

Response Parameters

type == wxtunnel

NameTypeDescription
tunnel_namestringMist Tunnel Name
macstringrouter mac address
uptimeintduration from first (or last) SA was established
upbooleantrue/false
nodestringnode0/node1
protocolstringipsec/gre
peer_ipstringpeer ip address
peer_hoststringpeer host
prioritystringprimary/secondary
org_idstringorg ID
site_idstringsite ID
rx_bytesintreceived bytes
tx_bytesintsent bytes
tx_pktsintcount of data packets sent
rx_pktsintcount of data packets received
last_eventstringreason of why the tunnel is down
ipstringip address
auth_algostringauthentication algorithm
encrypt_algostringencryption algorithm
ike_versionstringike version

type == wan

NameTypeDescription
tunnel_namestringMist Tunnel Name
macstringrouter mac address
uptimeintduration from first (or last) SA was established
upbooleantrue/false
nodestringnode0/node1
protocolstringipsec/gre
peer_ipstringpeer ip address
peer_hoststringpeer host
org_idstringorg ID
site_idstringsite ID
rx_bytesintreceived bytes
tx_bytesintsent bytes
tx_pktsintcount of data packets sent
rx_pktsintcount of data packets received
last_eventstringreason of why the tunnel is down
ipstringip address
auth_algostringauthentication algorithm
encrypt_algostringencryption algorithm
ike_versionstringike version
wan_namestringwan interface name

Request Params

KeyDatatypeRequiredDescription
typestringwan / wxtunnel

RESPONSES

status: OK

{"total":1,"start":1531776183,"limit":10,"end":1531862583,"results":[{"tunnel_name":"Device-ipsec-1","mac":"020001ae9dd5","uptime":10,"up":true,"node":"node0","protocol":"ipsec","When":"2022-10-27T10:53:20.973Z","peer_ip":"10.224.8.16","priority":"primary","org_id":"78c11da8-f984-4425-bedb-a7ddd7d0f6da","site_id":"e83e7928-eda1-4e93-82db-df3dd42ab726","rx_bytes":150,"tx_bytes":100,"tx_pkts":50,"rx_pkts":75,"peer_host":"sunnyvale1-vpn.zscalerbeta.net","last_event":"down reason","ip":"192.168.233.0","auth_algo":"hmac-md5-96","encrypt_algo":"aes-256-cbc","ike_version":"2","wan_name":"wan"}]}