Retrieving logs from PA device via Panorama 6.x XML API

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Retrieving logs from PA device via Panorama 6.x XML API

L0 Member


When I login to my PA device via ssh and run the command

show log config result equal succeeded

I get list of records.

I would like to get the exact same result but via Panorama XML API.

I tried:


But I get:


<response status="error">
<line>invalid client cli</line>

How can I use the XML API in Panorama to retrieve the logs from managed device?


L2 Linker

old but still relevant. Not all CLI commands translate directly to API call. If you use the REST API browser you can see there is a dedicated section for logs.


  • 1 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!