Skip to main content
dirkdigs
New Member
Jul 9, 2014 8:13 PM UTC
Question

how to generate a log that shows more than the past 24 hours.

i am generating on demand log of fortigate 100d. however it seems to only shows the last 24 hours and i don' t see anywhere to change it? help!

    5 replies

    dirkdigs
    dirkdigsAuthor
    New Member
    Aug 27, 2014 2:33 PM UTC
    found out that i can do the last 7 days by changing options in the GUI. anything other than that a fortianalyzer would be required.
    Translate
    daveteoh
    New Member
    Sep 10, 2014 3:18 AM UTC
    Hi Jason, may i know how do you configured to get the last 7 days log report? i cannot see the options there. I' m using Fortigate 90D. Dave
    Translate
    Jeff_FTNT
    Staff
    Staff
    Sep 11, 2014 6:27 PM UTC
    FGT default keep 7 days log on disk, you may change it with CLI: config log disk setting set status enable set maximum-log-age xx end To generate last 7 days log report, go to GUI:Log&Report->Report->local, change " Generate report Weekly" . Or from CLI: config report layout edit default set schedule-type ? demand Run on demand daily Schedule daily weekly Schedule weekly If your FGT have too much log in 7 days , suggest NOT change default setting
    Translate
    ALX1S
    New Member
    May 16, 2016 7:59 PM UTC

    Oh Jeff. Thanks you so much!!! I was looking for the way to increase the log time.

    Translate
    snobs
    New Member
    Sep 30, 2018 8:45 AM UTC

    Can you please post your configuration from CLI? I still get the last 24 hours, only.

     

    Update: got it

    Translate
    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