- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-28-2020 03:00 AM
Hi all,
I have created some Custom Reports by GUI, query: action allow & addr src=<IP_address>.
Now I am trying to pull those Custom Reports via API, but I cannot find documentation for this.
Can anyone please let me know how to pull created Custom Reports using API from the Panorama.
Thank you very much!
Regards,
10-28-2020 05:52 AM
You can try below API query.
/api/?type=report&async=yes&reporttype=custom&reportname=<Report-Name>
You can get all such syntax using https://<Gateway/Panorama_IP>/API
10-28-2020 07:34 PM
Thank you for reply.
I tried API query:
/api/?key={{api_key}}&type=report&async=yes&reporttype=custom&reportname=Daily-Report-User-Activity-10.16.224.0_19
but error appear: Illegal value for parameter "reportname" [Daily-Report-User-Activity-10.16.224.0_19].
How can I fix this?
Be regards,
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!