Is there a way to clear the threat pcap database?
We are running PanOS 5.0.x so the pcaps are not automatically overwritten, and we get the message saying our daily packet capture limit has been reached.
We have turned off pcaps on the security profiles, so no new pcaps are being taken, but the database remains full...
I know you can clear the "unknown-apps"-pcap database -> delete unknown-pcap directory xxx
And you can clear the "debug filter"-pcaps -> debug dataplane packet-diag clear all
But how can you clear the "threat"-pcap database?
Solved! Go to Solution.
There is no way to clear the threat pcap database from the command line. Also, the threat pcap will not purge once the daily limit is reached which is 131072 packet capture files.
One way to clear the the threat pcaps would be to delete the directory from the root. It has already been confirmed that once deleted, the threat pcap database directory recreates itself in the root.
Hope this helps.
pcaps are stored in a database and a unique “pcap id” is given to each pcap. The pcap id is stored in the associated threat log and provides a cleaner way to reference pcaps for a specific threat log. But the only way to delete those files from the root. If there are features we currently don't have but you would like to see added, you may contact with your Palo Alto Networks SE/sales representative and they can create a feature request for you.
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!