- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-21-2021 01:59 AM
Hi,
We are currently trying to configure syslog using ansible, this for the firewalls that are maintained by #Panorama
We noticed that we can't (or don't know / found a way how) configure syslog in our templates.
My question is (simple?); is it possible to configure templates (in our case the syslog and log settings part) using ansible
Best regards and thanks for your reply
Richard B
10-21-2021 08:56 AM
Syslog server profiles: https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_syslog_profile.html
Syslog servers (attached to the profile): https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_syslog_server.html
Configuring Device > Log Settings is not there yet, but you can use panos_type_cmd to fill the gap in the meantime if you are so inclined: https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_type_cmd.html
10-21-2021 08:56 AM
Syslog server profiles: https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_syslog_profile.html
Syslog servers (attached to the profile): https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_syslog_server.html
Configuring Device > Log Settings is not there yet, but you can use panos_type_cmd to fill the gap in the meantime if you are so inclined: https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_type_cmd.html
10-26-2021 12:46 AM
Thanks @gfreeman for your reply, this explains a bit why we experienced some filter warnings when committing.
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!