Fortinet black logo

CLI Reference

log fortiguard override-setting

log fortiguard override-setting

Use this command within a VDOM to override the global configuration created with the config log fortiguard setting command. These settings configure logging for the FortiCloud log retention service.

config log fortiguard override-setting
    set override {enable | disable}   Overriding FortiCloud settings for this VDOM or use global settings.
    set status {enable | disable}   Enable/disable logging to FortiCloud.
    set upload-option {store-and-upload | realtime | 1-minute | 5-minute}   Configure how log messages are sent to FortiCloud.
            store-and-upload  Log to the hard disk and then upload logs to FortiCloud.
            realtime          Log directly to FortiCloud in real time.
            1-minute          Log directly to FortiCloud at 1-minute intervals.
            5-minute          Log directly to FortiCloud at 5-minute intervals.
    set upload-interval {daily | weekly | monthly}   Frequency of uploading log files to FortiCloud.
            daily    Upload log files to FortiCloud once a day.
            weekly   Upload log files to FortiCloud once a week.
            monthly  Upload log files to FortiCloud once a month.
    set upload-day {string}   Day of week to roll logs.
    set upload-time {string}   Time of day to roll logs (hh:mm).
end

log fortiguard override-setting

Use this command within a VDOM to override the global configuration created with the config log fortiguard setting command. These settings configure logging for the FortiCloud log retention service.

config log fortiguard override-setting
    set override {enable | disable}   Overriding FortiCloud settings for this VDOM or use global settings.
    set status {enable | disable}   Enable/disable logging to FortiCloud.
    set upload-option {store-and-upload | realtime | 1-minute | 5-minute}   Configure how log messages are sent to FortiCloud.
            store-and-upload  Log to the hard disk and then upload logs to FortiCloud.
            realtime          Log directly to FortiCloud in real time.
            1-minute          Log directly to FortiCloud at 1-minute intervals.
            5-minute          Log directly to FortiCloud at 5-minute intervals.
    set upload-interval {daily | weekly | monthly}   Frequency of uploading log files to FortiCloud.
            daily    Upload log files to FortiCloud once a day.
            weekly   Upload log files to FortiCloud once a week.
            monthly  Upload log files to FortiCloud once a month.
    set upload-day {string}   Day of week to roll logs.
    set upload-time {string}   Time of day to roll logs (hh:mm).
end