- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-06-2025 02:12 PM
Hello,
I am attempting to use the XML API for Panorama to capture the output of a report. I am able to successfully pass the custom report name to the API and get some results, but the results are missing the Source User field outlined in the report definition in the Pano.
For example, the report definition (and the emailed report, when it worked) included the Source User, but that field is absent when I retrieve the results from the XML API.
Report Settings:
Example XML API Results:
<public_ip>xxx.xxx.xxx.xxx</public_ip>
<resolved-public_ip>xxx.xxx.xxx.xxx</resolved-public_ip>
<time_generated>2025/08/05 21:23:30</time_generated>
<portal>vpn1</portal>
<srcregion>US</srcregion>
<error>Error Message</error>
<repeatcnt>1</repeatcnt>
Why isn't the XML API at parity with the data returned in the GUI/Scheduled Reports?
08-06-2025 11:43 PM
Hello,
The discrepancy between the data returned by the Panorama XML API and the data shown in the GUI or scheduled reports is a known issue for some log types and report definitions. The API may not be fully synchronized with all available fields, or there could be a specific syntax or parameter required to include the "Source User" field in the API call that isn't immediately obvious. It's also possible that the field name used in the API response is different from the human-readable name in the GUI. You may need to consult the specific Panorama XML API documentation for your version to see if there's an alternative way to request this field, or if it's a limitation of the API itself for that particular log database.
08-11-2025 12:20 PM
That is understandable, but from my searching online, there is zero documentation on what fields are accessible via the XML API when dealing with custom reports.
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!