FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
js2
Staff
Staff
Article Id 192466
Description
Under 'logs & Reports', if the local traffic logs are not visible and if the page shows the message 'No results', it is possible to check the below setting.

Solution
Identify from where exactly logs are displayed in the unit.





In the above screenshot, log location is set to disk, so we need to verify the log disk settings.
# show full-configuration log disk filter
# config log disk filter

    set severity information        <----- Make sure severity is set to information.
    set forward-traffic enable
    set local-traffic disable       <-----
    set multicast-traffic enable
    set sniffer-traffic enable
    set anomaly enable
    set voip enable
    set gtp enable
    set filter ''
    set filter-type include
end
'local-traffic' option is set to disable due to which local-traffic logs are not showing in FortiGate.

Enable the option and verify the logs.
# config log disk filter
    set local-traffic enable
end
In case of log location is memory or FortiCloud, follow below settings.
# config log memory filter
    set local-traffic enable
end

# config log fortiguard filter
    set local-traffic enable
end
Also make sure to enable below option in log settings.
# config log setting
    set local-in-allow enable          <----- Show logs for traffic designated to FortiGate such as ping, management 
    set local-out enable               <----- Show logs of traffic generated from FortiGate.
end
Traffic designated to FortiGate:




Traffic generated from FortiGate:



Contributors