Export logs to a host (this example uses a linux server)
scp export logdb to username@host:path/logdb.tgz
Untar and clean the logs
mkdir temp
tar xfz logdb.tgz -C temp
cf temp/traffic/1
Remove any folder you wish to purge from the logs
Compress the cleaned logs
cd ../..
tar cfz new_logdb.tgz ./*
Import the new log file
scp import logdb from username@host:path/new_logdb.tgz
Note: The scp import logdb command is not applicable for Panorama VM running 6.0.x. The command applies to the Palo Alto Networks firewalls, all versions of M-100, and versions up to 5.1 for the Panorama VM.