{"type":"api","title":"Get Statistics Per Interface","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - Interface Statistics"],"description":"Get statistics per interface","operationId":"getStatisticsPerInterface","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"},"example":{"query":{"condition":"AND","rules":[{"value":["24"],"field":"entry_time","type":"date","operator":"last_n_hours"},{"value":["20.0.1.20"],"field":"vdevice_name","type":"string","operator":"in"}]}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","format":"int32"},"entry_time":{"type":"string"},"interface":{"type":"string"},"rx_kbps":{"type":"number"},"tx_kbps":{"type":"number"},"vdevice_name":{"type":"string"}},"$$ref":"#/components/schemas/InterfaceAggResp"},"examples":{"Interface by type":{"description":"Interface by type","value":[{"down_capacity_percentage":0,"tx_pps":0,"total_mbps":0,"device_model":"vedge-cloud","rx_kbps":0,"interface":"system","tx_octets":0,"oper_status":"Up","rx_errors":0,"bw_down":10000,"tx_pkts":0,"tx_errors":0,"rx_octets":0,"statcycletime":1673959200022,"admin_status":"Up","bw_up":10000,"interface_type":"logical","tenant":"default","entry_time":1673958142101,"vip_time":1673958142101,"af_type":"IPv4","rx_pkts":0,"rx_pps":0,"vmanage_system_ip":"172.16.255.21","tx_drops":0,"rx_drops":0,"tx_kbps":0,"vdevice_name":"172.16.255.21","up_capacity_percentage":0,"vip_idx":284,"host_name":"vm11","vpn_id":0,"id":"RQG-v4UBrf5pDUb4VeQc"},{"down_capacity_percentage":0,"tx_pps":0,"total_mbps":0,"device_model":"vedge-cloud","rx_kbps":0,"interface":"ge0/5","tx_octets":0,"oper_status":"Down","rx_errors":0,"bw_down":0,"tx_pkts":0,"tx_errors":0,"rx_octets":0,"statcycletime":1673959200022,"admin_status":"Down","bw_up":0,"interface_type":"physical","tenant":"default","entry_time":1673958414824,"vip_time":1673958414825,"af_type":"IPv4","rx_pkts":0,"rx_pps":0,"vmanage_system_ip":"172.16.255.21","tx_drops":0,"rx_drops":0,"tx_kbps":0,"vdevice_name":"172.16.255.21","up_capacity_percentage":0,"vip_idx":293,"host_name":"vm11","vpn_id":0,"id":"TgG-v4UBrf5pDUb4VeQc"}]}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"getStatisticsPerInterface","method":"get","path":"/statistics/interface/type"}}