{"type":"api","title":"Get Stats Raw Data Monitoring Interface Statistics 2104","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":["Monitoring - Interface Statistics"],"description":"Get stats raw data","operationId":"getStatsRawData_MonitoringInterfaceStatistics_2104","parameters":[{"name":"page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"pageSize","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortBy","in":"query","schema":{"type":"string"}},{"name":"sortOrder","in":"query","schema":{"type":"string","enum":["asc","ASC","Asc","desc","DESC","Desc"]}}],"requestBody":{"description":"Query filter","content":{"application/json":{"schema":{"type":"object"},"examples":{"Query filter":{"description":"Query filter","value":{"query":{"condition":"AND","rules":[{"value":["24"],"field":"entry_time","type":"date","operator":"last_n_hours"},{"value":["172.16.55.16"],"field":"vdevice_name","type":"string","operator":"in"}]}}}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"device_model":{"type":"string"},"dst_ip":{"type":"string"},"dst_port":{"type":"integer","format":"int32"},"entry_time":{"type":"string"},"fec_re":{"type":"integer","format":"int32"},"fec_rx":{"type":"integer","format":"int64"},"fec_tx":{"type":"integer","format":"int64"},"host_name":{"type":"string"},"id":{"type":"string"},"jitter":{"type":"integer","format":"int32"},"latency":{"type":"number"},"local_color":{"type":"string"},"local_system_ip":{"type":"string"},"loss":{"type":"integer","format":"int32"},"loss_percentage":{"type":"integer","format":"int32"},"name":{"type":"string"},"proto":{"type":"string"},"remote_color":{"type":"string"},"remote_system_ip":{"type":"string"},"rx_octets":{"type":"integer","format":"int64"},"rx_pkts":{"type":"integer","format":"int64"},"sla_class_list":{"type":"string"},"sla_class_names":{"type":"string"},"src_ip":{"type":"string"},"src_port":{"type":"integer","format":"int32"},"statcycletime":{"type":"string"},"state":{"type":"string"},"tenant":{"type":"string"},"total":{"type":"integer","format":"int32"},"tunnel_color":{"type":"string"},"tx_octets":{"type":"number"},"tx_pkts":{"type":"integer","format":"int64"},"vdevice_name":{"type":"string"},"vip_idx":{"type":"integer","format":"int32"},"vmanage_system_ip":{"type":"string"},"vqoe_score":{"type":"integer","format":"int32"}},"description":"interface specific response","$$ref":"#/components/schemas/InterfaceResp"}},"pageInfo":{"type":"object","properties":{"count":{"type":"integer","description":"number of alarms to be fetched","format":"int64"},"endTime":{"type":"integer","description":"end time of alarms to be fetched","format":"int64"},"startTime":{"type":"integer","description":"start time of alarms to be fetched","format":"int64"}},"$$ref":"#/components/schemas/PageInfo"}},"description":"interface response with page info","$$ref":"#/components/schemas/InterfaceRespWithPageInfo"}},"examples":{"QueryFields":{"description":"QueryFields","value":{"data":[{"remote_color":"lte","fec_re":0,"vqoe_score":10,"device_model":"vedge-cloud","latency":1,"tx_octets":0,"dst_ip":"10.0.106.1","local_color":"lte","src_ip":"10.1.15.15","sla_class_names":"test_sla_class","loss":0,"total":600,"tx_pkts":0,"fec_tx":0,"rx_octets":0,"statcycletime":1589075400052,"state":"Up","local_system_ip":"172.16.255.15","tenant":"default","entry_time":1589073783045,"loss_percentage":0,"rx_pkts":0,"vmanage_system_ip":"172.16.255.15","fec_rx":0,"src_port":12366,"jitter":1,"remote_system_ip":"172.16.255.16","vdevice_name":"172.16.255.15","proto":"IPSEC","vip_idx":351,"dst_port":12386,"name":"172.16.255.15:lte-172.16.255.16:lte","sla_class_list":"0,1","tunnel_color":"lte:lte","host_name":"vm5","id":"IuBG_HEB_JLsavezVkiZ"}],"pageInfo":{"startTime":"1589073783045","endTime":"1589072535795","count":15}}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"post","path":"/statistics/interface"}}