Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Adding a device to log-collector and content update schedule via api

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Adding a device to log-collector and content update schedule via api

L0 Member

Hi,

 

I am trying to find a way to add a newly deployed PAN-VM to an existing log-collector-group and content update schedule in Panorama.

 

Looking at the API reference, I can see we can update contents but couldn't find any for adding it to schedule?

Also didn't find any log collector reference.

 

I am using pan-os-python.
Any help will be appreciated. 
Thanks in advance

 

Waqas

1 REPLY 1

L5 Sessionator

Hello @MirzaWaqas, most of our customer would utilise bootstrapping to achieve this:

  • When creating a new VM-Series, you could use bootstrapping to assign a Log Collector groups with cgname in the init-cfg.txt/userdata depending on the public/private cloud you are deploying into (https://docs.paloaltonetworks.com/vm-series/10-1/vm-series-deployment/bootstrap-the-vm-series-firewa...).
  • In the same way, bootstrapping can assign the VM-Series to a template stack with tplname in the init-cfg.txt/userdata, and then VM-Series would then inherit any content update schedules configured within the template stack.

I hope this helps.

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂
  • 2256 Views
  • 1 replies
  • 0 Likes
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!