Delete logs in /opt/panlogs can select specific date?

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

Delete logs in /opt/panlogs can select specific date?

L3 Networker

Hi All,

 

i have question on this KB : How to Clear Logs To Reduce Disk Space usage on /opt/panlogs - Knowledge Base - Palo Alto Networks

 

can we chose to delete the logs by specific date? 

if there any command or KB to do it, can do please share.

 

Thank you

1 REPLY 1

Cyber Elite
Cyber Elite

@Fariq_Zaidi,

There's really not an option to do this directly. You can utilize retention period to remove files to clear up space if you just want to essentially say "delete files older than X", but other than that you'll need to remove them all and there's no option to just remove logs from "last tuesday" as an example.

  • 361 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!