# config log syslogd settingBy default, ALL the syslog filters are disabled as shown below:
set status enable
set server "10.5.21.82" <----- 10.5.21.82 is the FortiAnalyzer IP in this case.
end
# config log syslogd filterOnce the 'set event enable' is applied, it will be possible to see the various event filters which are by default disabled as shown below:
set event disable
set severity information
end
# config log syslogd filterIn order to receive basic events, enable the below:
set event enable
set severity information
set base-switch-config disable
set base-switch-general disable
set base-switch-trunk disable
set fabric-switch-config disable
set fabric-switch-general disable
set fabric-switch-stp disable
set fabric-switch-trunk disable
set system-config disable
set system-general disable
end
# config log syslogd filterFor testing, login and logout of the FortiController to see an event on the syslog.
set event enable
set system-general enable
end