Fortinet white logo
Fortinet white logo

CLI Reference

config log eventfilter

config log eventfilter

Configure log event filters.

config log eventfilter
    Description: Configure log event filters.
    set event [enable|disable]
    set system [enable|disable]
    set vpn [enable|disable]
    set user [enable|disable]
    set router [enable|disable]
    set wireless-activity [enable|disable]
    set wan-opt [enable|disable]
    set endpoint [enable|disable]
    set ha [enable|disable]
    set security-rating [enable|disable]
    set fortiextender [enable|disable]
    set connector [enable|disable]
    set sdwan [enable|disable]
    set cifs [enable|disable]
    set switch-controller [enable|disable]
    set wcs [enable|disable]
    set wdb [enable|disable]
    set aggd [enable|disable]
    set crwl [enable|disable]
    set rest-api [enable|disable]
end

config log eventfilter

Parameter

Description

Type

Size

Default

event

Enable/disable event logging.

option

-

enable

Option

Description

enable

Enable event logging.

disable

Disable event logging.

system

Enable/disable system event logging.

option

-

enable

Option

Description

enable

Enable system event logging.

disable

Disable system event logging.

vpn

Enable/disable VPN event logging.

option

-

enable

Option

Description

enable

Enable VPN event logging.

disable

Disable VPN event logging.

user

Enable/disable user authentication event logging.

option

-

enable

Option

Description

enable

Enable user authentication event logging.

disable

Disable user authentication event logging.

router

Enable/disable router event logging.

option

-

enable

Option

Description

enable

Enable router event logging.

disable

Disable router event logging.

wireless-activity

Enable/disable wireless event logging.

option

-

enable

Option

Description

enable

Enable wireless event logging.

disable

Disable wireless event logging.

wan-opt

Enable/disable WAN optimization event logging.

option

-

enable

Option

Description

enable

Enable WAN optimization event logging.

disable

Disable WAN optimization event logging.

endpoint

Enable/disable endpoint event logging.

option

-

enable

Option

Description

enable

Enable endpoint event logging.

disable

Disable endpoint event logging.

ha

Enable/disable ha event logging.

option

-

enable

Option

Description

enable

Enable ha event logging.

disable

Disable ha event logging.

security-rating

Enable/disable Security Rating result logging.

option

-

enable

Option

Description

enable

Enable Security Fabric audit result logging.

disable

Disable Security Fabric audit result logging.

fortiextender

Enable/disable FortiExtender logging.

option

-

enable

Option

Description

enable

Enable Forti-Extender logging.

disable

Disable Forti-Extender logging.

connector

Enable/disable SDN connector logging.

option

-

enable

Option

Description

enable

Enable SDN connector logging.

disable

Disable SDN connector logging.

sdwan

Enable/disable SD-WAN logging.

option

-

enable

Option

Description

enable

Enable SD-WAN logging.

disable

Disable SD-WAN logging.

cifs

Enable/disable CIFS logging.

option

-

enable

Option

Description

enable

Enable CIFS logging.

disable

Disable CIFS logging.

switch-controller

Enable/disable Switch-Controller logging.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

wcs

Enable/disable log for wcs events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

wdb

Enable/disable log for wdb events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

aggd

Enable/disable log for aggd events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

crwl

Enable/disable log for crwl events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

rest-api

Enable/disable REST API logging.

option

-

enable

Option

Description

enable

Enable REST API logging.

disable

Disable REST API logging.

config log eventfilter

config log eventfilter

Configure log event filters.

config log eventfilter
    Description: Configure log event filters.
    set event [enable|disable]
    set system [enable|disable]
    set vpn [enable|disable]
    set user [enable|disable]
    set router [enable|disable]
    set wireless-activity [enable|disable]
    set wan-opt [enable|disable]
    set endpoint [enable|disable]
    set ha [enable|disable]
    set security-rating [enable|disable]
    set fortiextender [enable|disable]
    set connector [enable|disable]
    set sdwan [enable|disable]
    set cifs [enable|disable]
    set switch-controller [enable|disable]
    set wcs [enable|disable]
    set wdb [enable|disable]
    set aggd [enable|disable]
    set crwl [enable|disable]
    set rest-api [enable|disable]
end

config log eventfilter

Parameter

Description

Type

Size

Default

event

Enable/disable event logging.

option

-

enable

Option

Description

enable

Enable event logging.

disable

Disable event logging.

system

Enable/disable system event logging.

option

-

enable

Option

Description

enable

Enable system event logging.

disable

Disable system event logging.

vpn

Enable/disable VPN event logging.

option

-

enable

Option

Description

enable

Enable VPN event logging.

disable

Disable VPN event logging.

user

Enable/disable user authentication event logging.

option

-

enable

Option

Description

enable

Enable user authentication event logging.

disable

Disable user authentication event logging.

router

Enable/disable router event logging.

option

-

enable

Option

Description

enable

Enable router event logging.

disable

Disable router event logging.

wireless-activity

Enable/disable wireless event logging.

option

-

enable

Option

Description

enable

Enable wireless event logging.

disable

Disable wireless event logging.

wan-opt

Enable/disable WAN optimization event logging.

option

-

enable

Option

Description

enable

Enable WAN optimization event logging.

disable

Disable WAN optimization event logging.

endpoint

Enable/disable endpoint event logging.

option

-

enable

Option

Description

enable

Enable endpoint event logging.

disable

Disable endpoint event logging.

ha

Enable/disable ha event logging.

option

-

enable

Option

Description

enable

Enable ha event logging.

disable

Disable ha event logging.

security-rating

Enable/disable Security Rating result logging.

option

-

enable

Option

Description

enable

Enable Security Fabric audit result logging.

disable

Disable Security Fabric audit result logging.

fortiextender

Enable/disable FortiExtender logging.

option

-

enable

Option

Description

enable

Enable Forti-Extender logging.

disable

Disable Forti-Extender logging.

connector

Enable/disable SDN connector logging.

option

-

enable

Option

Description

enable

Enable SDN connector logging.

disable

Disable SDN connector logging.

sdwan

Enable/disable SD-WAN logging.

option

-

enable

Option

Description

enable

Enable SD-WAN logging.

disable

Disable SD-WAN logging.

cifs

Enable/disable CIFS logging.

option

-

enable

Option

Description

enable

Enable CIFS logging.

disable

Disable CIFS logging.

switch-controller

Enable/disable Switch-Controller logging.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

wcs

Enable/disable log for wcs events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

wdb

Enable/disable log for wdb events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

aggd

Enable/disable log for aggd events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

crwl

Enable/disable log for crwl events.

option

-

enable

Option

Description

enable

Enable Switch-Controller logging.

disable

Disable Switch-Controller logging.

rest-api

Enable/disable REST API logging.

option

-

enable

Option

Description

enable

Enable REST API logging.

disable

Disable REST API logging.