Device Log Forwarding CLI

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

Device Log Forwarding CLI

L4 Transporter

Hello -

In GUI I can do the following:

Panorama > Collector Groups > {Collector Group Name} > Device Log Forwarding > Log Forwarding Preferences

 

In here I have two Palo Loggers and I split my HA firewalls like so (for example):

Devices:                                              Collectors:

OhioFW01                                           North02Logger

FloridaFW02                                       South02Logger

_________________________________________________________

 

Devices:                                              Collectors:

OhioFW02                                          South02Logger

FloridaFW01                                       North02Logger

 

This gives me redundancy should one of the loggers fail, but also splits the work (Enable log redundancy across collectors is not checked).

 

I am trying to add NEW firewalls via command line to this set up:

set log-collector-group <name> logfwd-setting devices <name> collectors <name> (side bar, by "name" they mean serial number).

 

The issue is that this command adds the new firewall to its own line:

For example, if I run:

set log-collector-group {Collector Group Name} logfwd-setting devices 12345678 collectors 87654321

 

What I get is this:

Devices:                                              Collectors:

NewYorkFW01                                    North02Logger

_________________________________________________________

Devices:                                              Collectors:

OhioFW01                                           North02Logger

FloridaFW02                                       South02Logger

_________________________________________________________

 

Devices:                                              Collectors:

OhioFW02                                          South02Logger

FloridaFW01                                       North02Logger

 

I want to add it via command line so it would look like this:

Devices:                                              Collectors:

OhioFW01                                           North02Logger

FloridaFW02                                       South02Logger

NewYorkFW01                                    

_________________________________________________________

 

Devices:                                              Collectors:

OhioFW02                                          South02Logger

FloridaFW01                                       North02Logger

 

Hopefully I am making sense and some knows the command to add NEW ones to the device list that is already there.

0 REPLIES 0
  • 1858 Views
  • 0 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!