Skip to main content
Stuart_Robertson
New Member
Jan 23, 2018 9:33 AM UTC
Question

Removing Packet Capture Logs on FortiGate 5.2 using CLI

HI,

 

please could someone guide me on how to remove packet capture logs using the CLI on a FortiGate using the CLI without the need to restart the device (execute formatlogdisk command)

 

I have used exe log delete-all but this only deletes UTM logs?

 

thanks

 

 

    1 reply

    JianWu
    Staff
    Staff
    Sep 8, 2022 6:20 PM UTC

    To delete packet capture files (captured by policy), please use the command below.

    execute policy-packet-capture delete-all  Delete all captured packet.

     

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024