Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

log {fortianalyzer | fortianalyzer2 | fortianalyzer3} filter

Use this command to configure log filter settings to determine which logs will be recorded and sent to up to three FortiAnalyzer log management devices.

note icon The exact same entries can be found under the fortianalyzer, fortianalyzer2, and fortianalyzer3 filter commands.
config log fortianalyzer filter
    set severity {option}   Lowest severity level to log.
            emergency     Emergency level.
            alert         Alert level.
            critical      Critical level.
            error         Error level.
            warning       Warning level.
            notification  Notification level.
            information   Information level.
            debug         Debug level.
    set forward-traffic {enable | disable}   Enable/disable forward traffic logging.
    set local-traffic {enable | disable}   Enable/disable local in or out traffic logging.
    set multicast-traffic {enable | disable}   Enable/disable multicast traffic logging.
    set sniffer-traffic {enable | disable}   Enable/disable sniffer traffic logging.
    set anomaly {enable | disable}   Enable/disable anomaly logging.
    set voip {enable | disable}   Enable/disable VoIP logging.
    set dlp-archive {enable | disable}   Enable/disable DLP archive logging.
    set gtp {enable | disable}   Enable/disable GTP messages logging.
    set dns {enable | disable}   Enable/disable detailed DNS event logging.
    set ssh {enable | disable}   Enable/disable SSH logging.
    set filter {string}   FortiAnalyzer log filter. size[511]
    set filter-type {include | exclude}   Include/exclude logs that match the filter.
            include  Include logs that match the filter.
            exclude  Exclude logs that match the filter.
end

log {fortianalyzer | fortianalyzer2 | fortianalyzer3} filter

Use this command to configure log filter settings to determine which logs will be recorded and sent to up to three FortiAnalyzer log management devices.

note icon The exact same entries can be found under the fortianalyzer, fortianalyzer2, and fortianalyzer3 filter commands.
config log fortianalyzer filter
    set severity {option}   Lowest severity level to log.
            emergency     Emergency level.
            alert         Alert level.
            critical      Critical level.
            error         Error level.
            warning       Warning level.
            notification  Notification level.
            information   Information level.
            debug         Debug level.
    set forward-traffic {enable | disable}   Enable/disable forward traffic logging.
    set local-traffic {enable | disable}   Enable/disable local in or out traffic logging.
    set multicast-traffic {enable | disable}   Enable/disable multicast traffic logging.
    set sniffer-traffic {enable | disable}   Enable/disable sniffer traffic logging.
    set anomaly {enable | disable}   Enable/disable anomaly logging.
    set voip {enable | disable}   Enable/disable VoIP logging.
    set dlp-archive {enable | disable}   Enable/disable DLP archive logging.
    set gtp {enable | disable}   Enable/disable GTP messages logging.
    set dns {enable | disable}   Enable/disable detailed DNS event logging.
    set ssh {enable | disable}   Enable/disable SSH logging.
    set filter {string}   FortiAnalyzer log filter. size[511]
    set filter-type {include | exclude}   Include/exclude logs that match the filter.
            include  Include logs that match the filter.
            exclude  Exclude logs that match the filter.
end