{"type":"api","title":"Create Polic Data Policy Filter","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 - Policy"],"description":"Get data policy filters from device","operationId":"createPolicDataPolicyFilter","parameters":[{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"pattern":"^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$","type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Data policy filter":{"description":"Data policy filter","value":{"data":[{"vpn-name":"vpn_1","vdevice-dataKey":"172.16.255.15-accept_nat-vpn_1-natpool1","counter-name":"natpool1","vdevice-name":"172.16.255.15","bytes":"27448882","policy-name":"accept_nat","lastupdated":1656400527112,"vdevice-host-name":"vm5","packets":18179},{"vpn-name":"vpn_1","vdevice-dataKey":"172.16.255.15-accept_nat-vpn_1-natpool2","counter-name":"natpool2","vdevice-name":"172.16.255.15","bytes":"27042692","policy-name":"accept_nat","lastupdated":1656400527112,"vdevice-host-name":"vm5","packets":17910},{"vpn-name":"vpn_1","vdevice-dataKey":"172.16.255.15-accept_nat-vpn_1-natpool3","counter-name":"natpool3","vdevice-name":"172.16.255.15","bytes":"26630462","policy-name":"accept_nat","lastupdated":1656400527112,"vdevice-host-name":"vm5","packets":17637},{"vpn-name":"vpn_1","vdevice-dataKey":"172.16.255.15-accept_nat-vpn_1-natpool4","counter-name":"natpool4","vdevice-name":"172.16.255.15","bytes":"26252860","policy-name":"accept_nat","lastupdated":1656400527112,"vdevice-host-name":"vm5","packets":17386},{"vpn-name":"vpn_1","vdevice-dataKey":"172.16.255.15-accept_nat-vpn_1-natpool5","counter-name":"natpool5","vdevice-name":"172.16.255.15","bytes":"25849690","policy-name":"accept_nat","lastupdated":1656400527112,"vdevice-host-name":"vm5","packets":17119},{"vpn-name":"vpn_1","vdevice-dataKey":"172.16.255.15-accept_nat-vpn_1-default_action_count","counter-name":"default_action_count","vdevice-name":"172.16.255.15","bytes":"0","policy-name":"accept_nat","lastupdated":1656400527112,"vdevice-host-name":"vm5","packets":0}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Routing-read,Routing-write","method":"get","path":"/device/policy/datapolicyfilter"}}