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

Logs older than 7 day(s) are deleted from the disk

Hello 

 

I have a FortiGate 100D that has disk

I have connected it with the cloud

 

I would like to ask if I can change the 7 day store period?

Is it possible from cli?

 

Thanks and regards, 

Konstantinos

1 Solution
seshuganesh
Staff
Staff

Hi Team,

 

You can use this article to change the log age:

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-set-the-maximum-age-for-logs-on-dis...

 

config log disk setting
    set maximum-log-age                                    <----- Enter an integer value from <0> to <3650> (default = <7>)
end

 

It will be helpful to change the disk age

View solution in original post

1 REPLY 1
seshuganesh
Staff
Staff

Hi Team,

 

You can use this article to change the log age:

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-set-the-maximum-age-for-logs-on-dis...

 

config log disk setting
    set maximum-log-age                                    <----- Enter an integer value from <0> to <3650> (default = <7>)
end

 

It will be helpful to change the disk age