- 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.
01-17-2017 08:11 AM
Hi all lovely people of Palo Alto Live,
I want to see if there is a way to generate a custom (or in-built) report for the config changes on the Palo Alto?
For example, the requirement is that a weekly report is needed on what changes are made by which administrators in the past week, or the difference in config between today and the config 7 days ago.
As of now, I don't see any option from the GUI of Palo Alto.
Your help is greatly appreciated,
Thanks a Bunch!
01-18-2017 06:33 AM - edited 01-18-2017 06:49 AM
Hi @MHamad,
Currently there is no such feature. There is already a feature request for it (ID 986).
Please reach out to your local SE and ask him to add your vote.
In the meantime you could use the mentioned method from the previous comments.
Alternatively you could try getting the info using API calls.
For example the following API call will return a job ID (note that you will have to edit the query or script it to match your timeframe) :
https://xxxxxxxxx/api/?type=log&log-type=config&key=xxxxxxxxxxxxxxxxxxxx&query=(%20receive_time%20geq%20%272016/12/18%2016:11:04%27%20)
>> query job enqueued with jobid 945
Use the job-ID that you got from the previous call to get the info in a 2nd API call :
https://xxxxxxxxx/api/?type=log&action=get&job-id=945&key=xxxxxxxxxxxxxxxxxxxx
>> this should return an XML output of your query.
Another possibility would be to forward all your config log to a syslog server or just mail it to you and parse it outside the firewall.
Cheers !
-Kim.
01-17-2017 09:33 AM
Hi @MHamad,
With the 'Config Audit' option you can easily compare any configuration version.
You find the option under Device > Config Audit
Also, the configuration logfile will provide you more information on specific changes made by specific administrators :
Cheers,
-Kim.
01-17-2017 09:39 AM
01-18-2017 06:33 AM - edited 01-18-2017 06:49 AM
Hi @MHamad,
Currently there is no such feature. There is already a feature request for it (ID 986).
Please reach out to your local SE and ask him to add your vote.
In the meantime you could use the mentioned method from the previous comments.
Alternatively you could try getting the info using API calls.
For example the following API call will return a job ID (note that you will have to edit the query or script it to match your timeframe) :
https://xxxxxxxxx/api/?type=log&log-type=config&key=xxxxxxxxxxxxxxxxxxxx&query=(%20receive_time%20geq%20%272016/12/18%2016:11:04%27%20)
>> query job enqueued with jobid 945
Use the job-ID that you got from the previous call to get the info in a 2nd API call :
https://xxxxxxxxx/api/?type=log&action=get&job-id=945&key=xxxxxxxxxxxxxxxxxxxx
>> this should return an XML output of your query.
Another possibility would be to forward all your config log to a syslog server or just mail it to you and parse it outside the firewall.
Cheers !
-Kim.
01-18-2017 02:56 PM
Hello,
I also would like this feature, however in the meantime I am jsut using the logs. Go to Montior->Logs->Configuration. Then filter it to your time frame and export as a csv, then save as a pdf. Its a few extra steps, but shows what was done and by which admin.
Hope this helps.
06-02-2020 11:40 AM
@kiwiThanks for the API guidance. I tried the queries and it provides the xml output. The issue for me however is that the xml log contains only 20 entries (like the page view). Is there any way to receive "all entries"?
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!