Fortinet white logo
Fortinet white logo

CLI Reference

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 dlp-archive [enable|disable]
      set gtp [enable|disable]
      set filter {string}
      set filter-type [include|exclude]
  end

config log disk filter

Parameter Name Description Type Size
severity Log to disk every message above and including this severity level.
emergency: Emergency level.
alert: Alert level.
critical: Critical level.
error: Error level.
warning: Warning level.
notification: Notification level.
information: Information level.
debug: Debug level.
option -
forward-traffic Enable/disable forward traffic logging.
enable: Enable forward traffic logging.
disable: Disable forward traffic logging.
option -
local-traffic Enable/disable local in or out traffic logging.
enable: Enable local in or out traffic logging.
disable: Disable local in or out traffic logging.
option -
multicast-traffic Enable/disable multicast traffic logging.
enable: Enable multicast traffic logging.
disable: Disable multicast traffic logging.
option -
sniffer-traffic Enable/disable sniffer traffic logging.
enable: Enable sniffer traffic logging.
disable: Disable sniffer traffic logging.
option -
anomaly Enable/disable anomaly logging.
enable: Enable anomaly logging.
disable: Disable anomaly logging.
option -
voip Enable/disable VoIP logging.
enable: Enable VoIP logging.
disable: Disable VoIP logging.
option -
dlp-archive Enable/disable DLP archive logging.
enable: Enable DLP archive logging.
disable: Disable DLP archive logging.
option -
gtp Enable/disable GTP messages logging.
enable: Enable GTP messages logging.
disable: Disable GTP messages logging.
option -
filter Disk log filter. string Maximum length: 511
filter-type Include/exclude logs that match the filter.
include: Include logs that match the filter.
exclude: Exclude logs that match the filter.
option -

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 dlp-archive [enable|disable]
      set gtp [enable|disable]
      set filter {string}
      set filter-type [include|exclude]
  end

config log disk filter

Parameter Name Description Type Size
severity Log to disk every message above and including this severity level.
emergency: Emergency level.
alert: Alert level.
critical: Critical level.
error: Error level.
warning: Warning level.
notification: Notification level.
information: Information level.
debug: Debug level.
option -
forward-traffic Enable/disable forward traffic logging.
enable: Enable forward traffic logging.
disable: Disable forward traffic logging.
option -
local-traffic Enable/disable local in or out traffic logging.
enable: Enable local in or out traffic logging.
disable: Disable local in or out traffic logging.
option -
multicast-traffic Enable/disable multicast traffic logging.
enable: Enable multicast traffic logging.
disable: Disable multicast traffic logging.
option -
sniffer-traffic Enable/disable sniffer traffic logging.
enable: Enable sniffer traffic logging.
disable: Disable sniffer traffic logging.
option -
anomaly Enable/disable anomaly logging.
enable: Enable anomaly logging.
disable: Disable anomaly logging.
option -
voip Enable/disable VoIP logging.
enable: Enable VoIP logging.
disable: Disable VoIP logging.
option -
dlp-archive Enable/disable DLP archive logging.
enable: Enable DLP archive logging.
disable: Disable DLP archive logging.
option -
gtp Enable/disable GTP messages logging.
enable: Enable GTP messages logging.
disable: Disable GTP messages logging.
option -
filter Disk log filter. string Maximum length: 511
filter-type Include/exclude logs that match the filter.
include: Include logs that match the filter.
exclude: Exclude logs that match the filter.
option -