Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure logging to FortiCloud.

  config log fortiguard setting
      Description: Configure logging to FortiCloud.
      set status [enable|disable]
      set upload-option [store-and-upload|realtime|...]
      set upload-interval [daily|weekly|...]
      set upload-day {user}
      set upload-time {user}
      set enc-algorithm [high-medium|high|...]
      set ssl-min-proto-version [default|SSLv3|...]
      set conn-timeout {integer}
      set source-ip {ipv4-address}
  end

config log fortiguard setting

Parameter Name Description Type Size
status Enable/disable logging to FortiCloud.
enable: Enable logging to FortiCloud.
disable: Disable logging to FortiCloud.
option -
upload-option 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.
option -
upload-interval 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.
option -
upload-day Day of week to roll logs. user Not Specified
upload-time Time of day to roll logs (hh:mm). user Not Specified
enc-algorithm Configure the level of SSL protection for secure communication with FortiCloud.
high-medium: Encrypt logs using high and medium encryption.
high: Encrypt logs using high encryption.
low: Encrypt logs using low encryption.
option -
ssl-min-proto-version 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.
option -
conn-timeout FortiGate Cloud connection timeout in seconds. integer Minimum value: 1 Maximum value: 3600
source-ip Source IP address used to connect FortiCloud. ipv4-address Not Specified

Configure logging to FortiCloud.

  config log fortiguard setting
      Description: Configure logging to FortiCloud.
      set status [enable|disable]
      set upload-option [store-and-upload|realtime|...]
      set upload-interval [daily|weekly|...]
      set upload-day {user}
      set upload-time {user}
      set enc-algorithm [high-medium|high|...]
      set ssl-min-proto-version [default|SSLv3|...]
      set conn-timeout {integer}
      set source-ip {ipv4-address}
  end

config log fortiguard setting

Parameter Name Description Type Size
status Enable/disable logging to FortiCloud.
enable: Enable logging to FortiCloud.
disable: Disable logging to FortiCloud.
option -
upload-option 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.
option -
upload-interval 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.
option -
upload-day Day of week to roll logs. user Not Specified
upload-time Time of day to roll logs (hh:mm). user Not Specified
enc-algorithm Configure the level of SSL protection for secure communication with FortiCloud.
high-medium: Encrypt logs using high and medium encryption.
high: Encrypt logs using high encryption.
low: Encrypt logs using low encryption.
option -
ssl-min-proto-version 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.
option -
conn-timeout FortiGate Cloud connection timeout in seconds. integer Minimum value: 1 Maximum value: 3600
source-ip Source IP address used to connect FortiCloud. ipv4-address Not Specified