Log View – FortiManager 5.2

To roll logs when they reach a specific size:

Enter the following CLI commands:

config system log settings config rolling-regular set file-size <integer>

end

end

where <integer> is the size at which the logs will roll, in MB.

To roll logs on a schedule:

To disable log rolling, enter the following CLI commands:

config system log settings config rolling-regular set when none

end

end

To enable daily log rolling, enter the following CLI commands:

config system log settings

config rolling-regular

set upload enble set when daily set hour <integer> set min <integer> set file-size <integer>

end

end where:

The hour of the day when the when the FortiManager rolls the

hour <integer>

traffic analyzer logs.

The minute when the FortiManager rolls the traffic analyzer

min <integer>

logs.

file-size

<integer>      Roll log files when they reach this size (MB).

To enable weekly log rolling, enter the following CLI commands:

config system log settings config rolling-regular set when weekly

set days {mon | tue | wed | thu | fri | sat | sun}

set hour <integer> set min <integer>

end

end

where:

 
days {mon | tue | wed | thu | fri | sat | sun} The days week when the FortiManager rolls the traffic analyzer logs.
hour <integer> The hour of the day when the when the

FortiManager rolls the traffic analyzer logs.

min <integer> The minute when the FortiManager rolls the traffic analyzer logs.

 

 


Having trouble configuring your Fortinet hardware or have some questions you need answered? Check Out The Fortinet Guru Youtube Channel! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!

This entry was posted in Administration Guides, FortiManager and tagged , , on by .

About Mike

Michael Pruett, CISSP has a wide range of cyber-security and network engineering expertise. The plethora of vendors that resell hardware but have zero engineering knowledge resulting in the wrong hardware or configuration being deployed is a major pet peeve of Michael's. This site was started in an effort to spread information while providing the option of quality consulting services at a much lower price than Fortinet Professional Services. Owns PacketLlama.Com (Fortinet Hardware Sales) and Office Of The CISO, LLC (Cybersecurity consulting firm).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.