- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-14-2023 01:12 PM
What Unified SASE SD-WAN Endpoint(s) might we poll to get interface statistics like the RX Bytes, RX Packets, TX Bytes, and TX Packets that are available via the following Prisma ION CLI command?
https://docs.paloaltonetworks.com/prisma/prisma-sd-wan/prisma-sd-wan-ion-cli-reference/use-cli-comma...
12-27-2023 10:10 AM
This is the API request from the broswer:
curl 'https://api.sase.paloaltonetworks.com/sdwan/monitor/v2.5/api/monitor/object_stats' \
<removed headers>
--data-raw '{"start_time":"2023-12-27T13:43:47.763Z","end_time":"2023-12-27T14:43:47.763Z","object_type":"IntfStatistics","object_id":"1702599643564020096","filter":{"site":["1702599875046001096"],"element":["1702591664257000896"]}}' \
--compressed
12-27-2023 06:47 AM
You can use the object_stats API to get the interface metrics:
https://pan.dev/sdwan/api/post-sdwan-v-2-5-api-monitor-object-stats/
12-27-2023 08:09 AM
Thanks so much. We've been trying this endpoint, but were unable to get it to work. Would you mind sharing the syntax you used to retrieve the statistics for each interface on RDU-RG-ION-1?
12-27-2023 10:10 AM
This is the API request from the broswer:
curl 'https://api.sase.paloaltonetworks.com/sdwan/monitor/v2.5/api/monitor/object_stats' \
<removed headers>
--data-raw '{"start_time":"2023-12-27T13:43:47.763Z","end_time":"2023-12-27T14:43:47.763Z","object_type":"IntfStatistics","object_id":"1702599643564020096","filter":{"site":["1702599875046001096"],"element":["1702591664257000896"]}}' \
--compressed
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!