Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
rraymond
New Contributor

How to clear out logs on disk

We have a Fortigate 100D. Our Disk usage is at 99.5% Full. The device is set to overwrite when the disk gets full, but how can I clear all the logs out to make the disk space go back to 0%. I tried using the : execute log delete-all command from the CLI and then reboot the device but that did not clear out anything. The disk space was still at 99.5%. I attached a pic of the status.

2 REPLIES 2
democomp
New Contributor

hi dear you can format the log desk by  this CLI

# execute formatlogdisk

Dinesh_FTNT
Staff
Staff

Hi dear,

If you created vdom on the FGT, then some storage space will be allocated for each vdom. This could possibly the reason, you noticed full disk utilization.

You can verify using the below commands.

diag sys logdisk usage

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors