Skip to main content
Brent_Su
New Member
April 22, 2020
Solved

Logs older than 7 days are deleted from the disk

  • April 22, 2020
  • 3 replies
  • 20825 views

In Log > Log Settings is...

 

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

 

Can I extend it to 10 days? 15 days? A month?

    Best answer by Markus

    I think it depends on the modell. On my 61F, the max log age is 3650 days

     

    MY-MASTER # conf log disk setting MY-MASTER (setting) # set maximum-log-age maximum-log-age    Enter an integer value from <0> to <3650> (default = <7>).

     

     

    3 replies

    Philippe_Gagne
    New Member
    April 22, 2020

    No, sorry! It is by design.

     

    If you want more logs, we needs to use FortiAnalyzer or subscribe the year FortiCloud services. 

     

    Regards

     

    emnoc
    New Member
    April 22, 2020

    If you need log retention , forward the logs to an external device. Internal  is limited by the size and total number of logs/per-sec

     

    Ken Felix

    Brent_Su
    Brent_SuAuthor
    New Member
    April 24, 2020

    Philippe and emnoc, Thank you so much for your suggestions.

    Markus
    MarkusAnswer
    New Member
    April 30, 2020

    I think it depends on the modell. On my 61F, the max log age is 3650 days

     

    MY-MASTER # conf log disk setting MY-MASTER (setting) # set maximum-log-age maximum-log-age    Enter an integer value from <0> to <3650> (default = <7>).

     

     

    FirewallNoob
    New Member
    August 10, 2021

    mgrosni wrote:

    I think it depends on the modell. On my 61F, the max log age is 3650 days

     

    MY-MASTER # conf log disk setting MY-MASTER (setting) # set maximum-log-age maximum-log-age    Enter an integer value from <0> to <3650> (default = <7>).

     

     

    excellent! just enabled this on our 101F's.

    Lichong
    New Member
    February 10, 2022

    Does anyone know the system event log whether satisfy this log retention policy?

     

    I can see some 7 days ago system log even the log retention policy is default.