- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
02-07-2023 02:00 PM
Hello there,
I know that system logs can be sent to a log collector through email, syslogs, or API calls to a REST API server.
Is there any way to get the system alerts from panorama if we made an API call through an HTTP request? Looking to build a script that goes and grabs system alerts from panorama through HTTP requests.
I tried to look through the doc, but couldn't find a lot of info if this would be possible or not. Specifically looking for these logs:
Thanks,
02-07-2023 03:02 PM
Yes, you can read the documentation about predefined reports (log summary): https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/pan-os-xml-api-request-types/get-r...
And about log exporting (in detail):
https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/pan-os-xml-api-request-types/retri...
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!