Sending logs from an on-premise FortiAnalyzer
For a deployment where FortiGate sends logs to an on-premise FortiAnalyzer, you must configure FortiAnalyzer to forward logs to SOCaaS.
Configuring FortiAnalyzer to forward to SOCaaS
When the Fortinet SOC team is setting up the service, they will provide you with the server IP and port numbers that you need for the configuration.
For information about log forwarding, see Log Forwarding in the FortiAnalyzer Administration Guide.
To create a new log forwarding entry:
-
Log in to FortiAnalyzer, and go to log forwarding settings.
-
In versions prior to 7.4.0, go to System Settings > Log Forwarding.
-
In 7.4.0 and later, go to System Settings > Advanced > Log Forwarding.
-
-
In the toolbar, click Create New. The Create New Log Forwarding window opens.
-
Configure the following mandatory settings:
Remote Server Type FortiAnalyzer
Server FQDN/IP Enter the FQDN provided by the Fortinet SOC team.
FQDNs are supported for log forwarding in FortiAnalyzer 7.0.0 and later. If you are using an earlier version of FortiAnalyzer, you can use the resolved IP address of the FQDN instead.
Reliable Connection
On
Sending Frequency
Real-time
-
(Optional) Configure the device filters.
-
Under Log Forwarding Filters, click Select Device.
-
Select the devices from the list and click OK.
-
-
(Optional) Configure the log filters. This step is optional but is strongly recommended.
-
Enable Log Filters.
-
Set the Log messages that match criteria:
Log Field Select Log Type from the dropdown. Match Criteria Select Equal to from the dropdown. Value Select Traffic, Event, or UTM from the dropdown.
-
-
(Optional) Set Enable Exclusions to ON.
To exclude fields related to user privacy, create individual filters for the Any and Traffic log types, and one for each UTM subtype (Antivirus, Application, DNS, Data Leak Prevention, Web Application Firewall, Email Filter, File Filter, Intrusion Prevention, SSH, SSL, and Web Filter).
-
Configure the exclusion criteria.
Setting
Exclusion criteria
Device Type Select FortiGate. Log Type Select a log type from the dropdown list. Exclusion List Click Fields to open the Select Log Field pane at the right side of the page.
Use the following fields to exclude logs related to user privacy:
Log type Select Log Field Any -
User
Traffic -
Destination Unauthenticated User (dstunauthuser)
-
Destination User (dstuser)
-
Unauthenticated User (unauthuser)
Antivirus -
Unauthenticated User (unauthuser)
Application DNS Data Leak Prevention Email Filter File Filter Intrusion Prevention SSH SSL Web Application Firewall Web Filter -
-
Click OK.
-
-
Repeat the step above for each exclusion filter type.
-
Verify the settings are configured properly using the following command:
show system log-forward
-
Configure a log buffer cache size that accommodates 24 hours of logs in your FortiAnalyzer device to avoid log dropping in case of abrupt disconnection between your FortiAnalyzer and SOCaaS.