Customize Logging and Reporting Settings in PAN-OS

Palo Alto Networks firewalls provide flexible options to customize logging and reporting to meet operational, security, and compliance needs. The configuration can be tailored for log storage quotas, expiration periods, scheduling, formatting, and export methods.

1. Log Storage Quotas and Expiration

Note: When quota is reached, old logs are deleted even without expiration period settings. HA pairs sync expiration settings​:contentReference[oaicite:0]{index=0}.

2. Customize Report Settings

3. Manage Predefined and Custom Reports

4. Export and Email Logs

5. Create and Manage Log Forwarding Profiles

6. Customize Syslog and Email Log Format

7. GlobalProtect Log Collection Settings

8. Useful Report Types for PCNSE

Mermaid Flow Diagram: Logging Workflow

graph TD A[Traffic Matching Policy] --> B{Log Setting Enabled?} B -- Yes --> C[Generate Log Entry] C --> D{Log Forwarding Profile?} D -- Yes --> E[Forward to Syslog/Email/Collector] D -- No --> F[Store in Local Log DB] F --> G[Viewable via Monitor > Logs]

Mermaid Sequence Diagram: Report Lifecycle

sequenceDiagram participant Admin participant Firewall participant LogStorage participant EmailServer Admin->>Firewall: Schedule Report Firewall->>LogStorage: Generate Report at Runtime LogStorage->>Firewall: Return Report Firewall-->>Admin: View/Export Report Firewall->>EmailServer: Send Report (Scheduled)

Official References