Fortinet black logo

CLI Reference

log fortiguard setting

log fortiguard setting

Use this command to connect and configure logging to the FortiCloud log retention service.

These settings are only available if an active FortiCloud subscription is associated with the device.

config log fortiguard setting
    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).
    set enc-algorithm {high-medium | high | low}   Enable and set the SSL security level for for sending encrypted logs to FortiCloud.
            high-medium  Encrypt logs using high and medium encryption.
            high         Encrypt logs using high encryption.
            low          Encrypt logs using low encryption.
    set ssl-min-proto-version {option}   Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
            default  Follow system global setting.
            SSLv3    SSLv3.
            TLSv1    TLSv1.
            TLSv1-1  TLSv1.1.
            TLSv1-2  TLSv1.2.
    set conn-timeout {integer}   FortiGate Cloud connection timeout, in seconds (1 - 3600).
    set source-ip {ipv4 address}   Source IP address used to connect FortiCloud.
end

log fortiguard setting

Use this command to connect and configure logging to the FortiCloud log retention service.

These settings are only available if an active FortiCloud subscription is associated with the device.

config log fortiguard setting
    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).
    set enc-algorithm {high-medium | high | low}   Enable and set the SSL security level for for sending encrypted logs to FortiCloud.
            high-medium  Encrypt logs using high and medium encryption.
            high         Encrypt logs using high encryption.
            low          Encrypt logs using low encryption.
    set ssl-min-proto-version {option}   Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
            default  Follow system global setting.
            SSLv3    SSLv3.
            TLSv1    TLSv1.
            TLSv1-1  TLSv1.1.
            TLSv1-2  TLSv1.2.
    set conn-timeout {integer}   FortiGate Cloud connection timeout, in seconds (1 - 3600).
    set source-ip {ipv4 address}   Source IP address used to connect FortiCloud.
end