- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-07-2020 02:00 AM
Hi all,
I’m hoping to leverage of the wisdom of the collective here. I’m wanting to use the XML API to extract configuration logs from a Panorama instance. However I’m noticing the XML API extraction is truncating two fields I need.....before-change-preview and after-change-preview. Does anyone know if it is possible to request full fields in the output? I don’t see the same issue when going in via the GUI and extracting configuration logs to CSV. There is no truncation in the GUI or CSV in this method, yet that approach does not allow us to automate the process.
I’d appreciate if anyone knows how to get the full fields in the output.
Regards,
Campbell
09-28-2022 06:53 AM
Using an extra show-detail parameter should help here, for example:
https://{{host}}/api?key={{key}}&type=log&log-type=config&show-detail=yes&query=( receive_time in last-24-hrs )
Hope that helps!
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!