How to change log retention days?
81388
Created On 01/23/20 22:50 PM - Last Modified 04/27/20 16:53 PM
Objective
To change the log retention days from default to a specified value.
Environment
- PAN-OS 8.1 and above.
- Palo Alto Firewall.
Procedure
- Logs of all types that the firewall generates and stores locally (GUI: Device> Setup> Management> Logging and reporting setting).
- The number of days of log retention can be modified by editing Max Days under Log Storage of Logging and Reporting Settings as displayed below.
Additional Information
- The firewall automatically deletes logs that exceed the specified period. By default, there is no expiration period, which means logs never expire.
- See also here for instructions on CLI settings.