Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config log fortiguard setting

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 priority [default|low]

set max-log-rate {integer}

set access-config [enable|disable]

set enc-algorithm [high-medium|high|...]

set ssl-min-proto-version [default|SSLv3|...]

set conn-timeout {integer}

set source-ip {ipv4-address}

set interface-select-method [auto|sdwan|...]

set interface {string}

end

config log fortiguard setting

Parameter

Description

Type

Size

Default

status

Enable/disable logging to FortiCloud.

option

-

disable

 

Option

Description

enable

Enable logging to FortiCloud.

disable

Disable logging to FortiCloud.

upload-option

Configure how log messages are sent to FortiCloud.

option

-

5-minute

 

Option

Description

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.

upload-interval

Frequency of uploading log files to FortiCloud.

option

-

daily

 

Option

Description

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.

upload-day

Day of week to roll logs.

user

Not Specified

upload-time

Time of day to roll logs (hh:mm).

user

Not Specified

priority

Set log transmission priority.

option

-

default

 

Option

Description

default

Set FortiCloud log transmission priority to default.

low

Set FortiCloud log transmission priority to low.

max-log-rate

FortiCloud maximum log rate in MBps (0 = unlimited).

integer

Minimum value: 0 Maximum value: 100000

0

access-config

Enable/disable FortiCloud access to configuration and data.

option

-

enable

 

Option

Description

enable

Enable FortiCloud access to configuration and data.

disable

Disable FortiCloud access to configuration and data.

enc-algorithm

Configure the level of SSL protection for secure communication with FortiCloud.

option

-

high

 

Option

Description

high-medium

Encrypt logs using high and medium encryption.

high

Encrypt logs using high encryption.

low

Encrypt logs using low encryption.

ssl-min-proto-version

Minimum supported protocol version for SSL/TLS connections .

option

-

default

 

Option

Description

default

Follow system global setting.

SSLv3

SSLv3.

TLSv1

TLSv1.

TLSv1-1

TLSv1.1.

TLSv1-2

TLSv1.2.

conn-timeout

FortiGate Cloud connection timeout in seconds.

integer

Minimum value: 1 Maximum value: 3600

10

source-ip

Source IP address used to connect FortiCloud.

ipv4-address

Not Specified

0.0.0.0

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

 

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

interface

Specify outgoing interface to reach server.

string

Not Specified

config log fortiguard setting

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 priority [default|low]

set max-log-rate {integer}

set access-config [enable|disable]

set enc-algorithm [high-medium|high|...]

set ssl-min-proto-version [default|SSLv3|...]

set conn-timeout {integer}

set source-ip {ipv4-address}

set interface-select-method [auto|sdwan|...]

set interface {string}

end

config log fortiguard setting

Parameter

Description

Type

Size

Default

status

Enable/disable logging to FortiCloud.

option

-

disable

 

Option

Description

enable

Enable logging to FortiCloud.

disable

Disable logging to FortiCloud.

upload-option

Configure how log messages are sent to FortiCloud.

option

-

5-minute

 

Option

Description

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.

upload-interval

Frequency of uploading log files to FortiCloud.

option

-

daily

 

Option

Description

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.

upload-day

Day of week to roll logs.

user

Not Specified

upload-time

Time of day to roll logs (hh:mm).

user

Not Specified

priority

Set log transmission priority.

option

-

default

 

Option

Description

default

Set FortiCloud log transmission priority to default.

low

Set FortiCloud log transmission priority to low.

max-log-rate

FortiCloud maximum log rate in MBps (0 = unlimited).

integer

Minimum value: 0 Maximum value: 100000

0

access-config

Enable/disable FortiCloud access to configuration and data.

option

-

enable

 

Option

Description

enable

Enable FortiCloud access to configuration and data.

disable

Disable FortiCloud access to configuration and data.

enc-algorithm

Configure the level of SSL protection for secure communication with FortiCloud.

option

-

high

 

Option

Description

high-medium

Encrypt logs using high and medium encryption.

high

Encrypt logs using high encryption.

low

Encrypt logs using low encryption.

ssl-min-proto-version

Minimum supported protocol version for SSL/TLS connections .

option

-

default

 

Option

Description

default

Follow system global setting.

SSLv3

SSLv3.

TLSv1

TLSv1.

TLSv1-1

TLSv1.1.

TLSv1-2

TLSv1.2.

conn-timeout

FortiGate Cloud connection timeout in seconds.

integer

Minimum value: 1 Maximum value: 3600

10

source-ip

Source IP address used to connect FortiCloud.

ipv4-address

Not Specified

0.0.0.0

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

 

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

interface

Specify outgoing interface to reach server.

string

Not Specified