Fortinet black logo

CLI Reference

config log disk filter

config log disk filter

Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type.

config log disk filter

Description: Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type.

set severity [emergency|alert|...]

set forward-traffic [enable|disable]

set local-traffic [enable|disable]

set multicast-traffic [enable|disable]

set sniffer-traffic [enable|disable]

set anomaly [enable|disable]

set voip [enable|disable]

set filter {string}

set filter-type [include|exclude]

end

config log disk filter

Parameter

Description

Type

Size

Default

severity

Log to disk every message above and including this severity level.

option

-

information

Option

Description

emergency

Emergency level.

alert

Alert level.

critical

Critical level.

error

Error level.

warning

Warning level.

notification

Notification level.

information

Information level.

debug

Debug level.

forward-traffic

Enable/disable forward traffic logging.

option

-

enable

Option

Description

enable

Enable forward traffic logging.

disable

Disable forward traffic logging.

local-traffic

Enable/disable local in or out traffic logging.

option

-

enable

Option

Description

enable

Enable local in or out traffic logging.

disable

Disable local in or out traffic logging.

multicast-traffic

Enable/disable multicast traffic logging.

option

-

enable

Option

Description

enable

Enable multicast traffic logging.

disable

Disable multicast traffic logging.

sniffer-traffic

Enable/disable sniffer traffic logging.

option

-

enable

Option

Description

enable

Enable sniffer traffic logging.

disable

Disable sniffer traffic logging.

anomaly

Enable/disable anomaly logging.

option

-

enable

Option

Description

enable

Enable anomaly logging.

disable

Disable anomaly logging.

voip

Enable/disable VoIP logging.

option

-

enable

Option

Description

enable

Enable VoIP logging.

disable

Disable VoIP logging.

filter

Disk log filter.

string

Maximum length: 1023

filter-type

Include/exclude logs that match the filter.

option

-

include

Option

Description

include

Include logs that match the filter.

exclude

Exclude logs that match the filter.

config log disk filter

Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type.

config log disk filter

Description: Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type.

set severity [emergency|alert|...]

set forward-traffic [enable|disable]

set local-traffic [enable|disable]

set multicast-traffic [enable|disable]

set sniffer-traffic [enable|disable]

set anomaly [enable|disable]

set voip [enable|disable]

set filter {string}

set filter-type [include|exclude]

end

config log disk filter

Parameter

Description

Type

Size

Default

severity

Log to disk every message above and including this severity level.

option

-

information

Option

Description

emergency

Emergency level.

alert

Alert level.

critical

Critical level.

error

Error level.

warning

Warning level.

notification

Notification level.

information

Information level.

debug

Debug level.

forward-traffic

Enable/disable forward traffic logging.

option

-

enable

Option

Description

enable

Enable forward traffic logging.

disable

Disable forward traffic logging.

local-traffic

Enable/disable local in or out traffic logging.

option

-

enable

Option

Description

enable

Enable local in or out traffic logging.

disable

Disable local in or out traffic logging.

multicast-traffic

Enable/disable multicast traffic logging.

option

-

enable

Option

Description

enable

Enable multicast traffic logging.

disable

Disable multicast traffic logging.

sniffer-traffic

Enable/disable sniffer traffic logging.

option

-

enable

Option

Description

enable

Enable sniffer traffic logging.

disable

Disable sniffer traffic logging.

anomaly

Enable/disable anomaly logging.

option

-

enable

Option

Description

enable

Enable anomaly logging.

disable

Disable anomaly logging.

voip

Enable/disable VoIP logging.

option

-

enable

Option

Description

enable

Enable VoIP logging.

disable

Disable VoIP logging.

filter

Disk log filter.

string

Maximum length: 1023

filter-type

Include/exclude logs that match the filter.

option

-

include

Option

Description

include

Include logs that match the filter.

exclude

Exclude logs that match the filter.