Created on
08-12-2022
09:46 AM
Edited on
12-01-2025
04:23 AM
By
Stephen_G
Description
This article describes how to integrate FortiAnalyzer into FortiSIEM. This article shows the step by step configuration of FortiAnalyzer and FortiSIEM.
The article deals with the following:
Scope
FortiAnalyzer and FortiSIEM.
IPs considered in this scenario:
FortiAnalyzer – 172.30.115.249
FortiSIEM – 172.29.52.243
Note: Connectivity between FortiAnalyzer and FortiSIEM has to be either on LAN or over Public IP.
Solution
Go to System Settings -> Advance -> Syslog.
Configuring Log Forwarding:
Note:
Why Forwarding mode is used - Forwarding Mode:
Logs are forwarded in real-time or near real-time as received. See modes - FortiAnalyzer administration guide for instructions on how to configure the appropriate mode in both the GUI and CLI.
Install a FortiSIEM collector in the same subnet as FortiAnalyzer that will be forwarding the events.
The same subnet request is required as FortiAnalyzer will later be configured to spoof packets to the collector. RPF (reverse path forwarding checks) on network equipment would have to be disabled if FortiAnalyzer and collector existed on different subnets.
To disable this, go to the FortiSIEM CLI:
sysctl -w net.ipv4.conf.all.rp_filter=0
Make changes to the system file because after a reboot, the FortiSIEM values will change again to 1. Add the following code to the file:
vi /etc/sysctl.conf
(
vi- to edit the file insert via “i”
save it via, “:wq!”
)
net.ipv4.conf.all.rp_filter=0
Log forwarding configuration via the GUI:
Open the CLI again and check the settings as follows:
(Configure locallog syslogd settings as well.)
config system locallog syslogd setting
set status enable
set syslog-name "FortiSIEM"
end
Log into the FortiSIEM -> Dashboard and select the FortiSIEM dashboard. (Use a new time configuration to check whether receiving any logs or not.)
FortiAnalyzer can forward two primary types of logs, each configured differently:
Troubleshooting:
If there are some issues with log forwarding, check the log forwarding stats by using:
diagnose test application logfwd 4
If there are issues with the forwarding engine, reset the logfwd process:
diagnose test application logfwd 99
diagnose test application logfwd
Notes:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.