Configure Log Forwarding to Panorama

Each firewall stores its log files locally by default and cannot display the logs that reside on other firewalls. Therefore, to achieve global visibility into the network activity that all your firewalls monitor, you must forward all firewall logs to Panorama and Use Panorama for Visibility. In cases where some teams in your organization can achieve greater efficiency by monitoring only the logs that are relevant to their operations, you can create forwarding filters based on any log attributes (such as threat type or source user). For example, a security operations analyst who investigates malware attacks might be interested only in Threat logs with the type attribute set to wildfire-virus.
The following steps describe how to use Panorama templates and device groups for configuring multiple firewalls to forward logs.
If Panorama will manage firewalls running software versions earlier than PAN-OS 7.0, specify a WildFire™ server from which Panorama can gather analysis information for WildFire samples that those firewalls submit. Panorama uses the information to complete WildFire Submissions logs that are missing field values introduced in PAN-OS 7.0. Firewalls running earlier releases won’t populate those fields. To specify the server, select PanoramaSetupWildFire, edit the General Settings, and enter the WildFire Private Cloud name. The default is wildfire-public-cloud, which is the WildFire cloud hosted in the United States.
You can also forward firewall logs to external services (such as a syslog server). For details, see Log Forwarding Options.
  1. Add a Device Group for the firewalls that will forward logs.
    Panorama requires a device group to push a Log Forwarding profile to firewalls. Create a new device group or assign the firewalls to an existing device group.
  2. Add a Template for the firewalls that will forward logs.
    Panorama requires a template to push log settings to firewalls. Create a new template or assign the firewalls to an existing template.
  3. Create a Log Forwarding profile.
    The profile defines the destinations for Traffic, Threat, WildFire Submission, URL Filtering, Data Filtering, Tunnel and Authentication logs.
    1. Select ObjectsLog Forwarding, select the Device Group of the firewalls that will forward logs, and Add a profile.
    2. Enter a Name to identify the Log Forwarding profile.
    3. Add one or more match list profiles.
      The profiles specify log query filters, forwarding destinations, and automatic actions such as tagging. For each match list profile:
      1. Enter a Name to identify the profile.
      2. Select the Log Type.
      3. In the Filter drop-down, select Filter Builder. Specify the following and then Add each query:
        Connector logic (and/or)
        Log Attribute
        Operator to define inclusion or exclusion logic
        Attribute Value for the query to match
      4. Select Panorama.
    4. Click OK to save the Log Forwarding profile.
  4. Assign the Log Forwarding profile to policy rules and network zones.
    Security, Authentication, and DoS Protection rules support log forwarding. In this example, you assign the profile to a Security rule.
    Perform the following steps for each rule that will trigger log forwarding:
    1. Select the rulebase (for example, PoliciesSecurityPre Rules), select the Device Group of the firewalls that will forward logs, and edit the rule.
    2. Select Actions and select the Log Forwarding profile you created.
    3. Set the Profile Type to Profiles or Group, and then select the security profiles or Group Profile required to trigger log generation and forwarding for:
      • Threat logs—Traffic must match any security profile assigned to the rule.
      • WildFire logs—Traffic must match a WildFire Analysis profile assigned to the rule.
    4. For Traffic logs, select Log At Session Start and/or Log At Session End.
    5. Click OK to save the rule.
  5. Configure the destinations for System logs, Configuration logs, User-ID™ logs, and HIP Match logs.
    Panorama generates Correlation logs based on the firewall logs it receives, rather than aggregating Correlation logs from firewalls.
    1. Select DeviceLog Settings and select the Template of the firewalls that will forward logs.
    2. For each log type that the firewall will forward, see step Add one or more match list profiles.
  6. (PA-7000 Series firewalls only) Configure a log card interface to perform log forwarding.
    When you configure a data port on one of the PA-7000 Series Network Processing Cards (NPCs) as a Log Card interface, the firewall will automatically begin using this interface to forward logs to the logging destinations you configure and forward files for WildFire analysis. Make sure that the interface you configure can reach the log forwarding destinations and the WildFire cloud, WildFire appliance, or both.
    Because PA-7000 Series firewall can now forward logs to Panorama, Panorama no longer treats the PA-7000 Series firewalls it manages as Log Collectors upon upgrade to PAN-OS 8.0. If you have not configured the PA-7000 Series firewalls to forward logs to Panorama, all logs a managed PA-7000 Series firewall generates are only viewable from the local firewall and not from Panorama. If you do not yet have a log forwarding infrastructure that is capable of handling the logging rate and volume from the PA-7000 Series firewalls, starting with PAN-OS 8.0.8 you can enable Panorama to directly query PA-7000 Series firewalls when monitoring logs. To use this functionality, both Panorama and the PA-7000 Series firewalls must be running PAN-OS 8.0.8 or later. Enable Panorama to directly query PA-7000 Series firewalls by entering the following command from the Panorama CLI:
    > debug-reportd send-request-to-7k yes
    After running this command, you will be able to view logs for managed PA-7000 Series firewalls on the Panorama Monitor tab. Additionally, as with all managed devices, you can also generate reports that include PA-7000 Series log data by selecting Remote Device Data as the Data Source. If you later decide to enable the PA-7000 Series firewalls to forward logs to Panorama, you must first disable this option using the debug-reportd send-request-to-7k no command.
    1. Select NetworkInterfacesEthernet, select the Template of the firewalls that will forward logs, and Add Interface.
    2. Select the Slot and Interface Name.
    3. Set the Interface Type to Log Card.
    4. Enter the IP Address, Default Gateway, and (for IPv4 only) Netmask.
    5. Select Advanced and specify the Link Speed, Link Duplex, and Link State.
      These fields default to auto, which specifies that the firewall automatically determines the values based on the connection. However, the minimum recommended Link Speed for any connection is 1000 (Mbps).
    6. Click OK to save your changes.
  7. Configure Panorama to receive the logs.
    If you will forward logs to a Panorama virtual appliance in Legacy mode, you can skip this step.
    1. For each Log Collector that will receive logs, Configure a Managed Collector.
    2. Configure a Collector Group to assign firewalls to specific Log Collectors for log forwarding.
  8. Commit your configuration changes.
    1. Select CommitCommit and Push and Edit Selections.
    2. Select Merge with Device Candidate Config and Include Device and Network Templates, and click OK.
    3. Commit and Push your changes to Panorama and push the changes to the device groups, templates, and Collector Groups.
    4. Verify Log Forwarding to Panorama to confirm that your configuration is successful.
      To change the log forwarding mode that the firewalls use to send logs to Panorama, you can Modify Log Forwarding and Buffering Defaults. You can also Manage Storage Quotas and Expiration Periods for Logs and Reports.

Related Documentation