Configure Fortinet Log Collector
The Alert Logic Fortinet collector is designed to enable Alert Logic to run our common firewall analytics on data from your Fortinet devices. These analytics identify suspicious communication with internet hosts which Alert Logic considers threat actors. Significant security findings from your Fortinet devices will result in the creation of incidents that can be managed in the Alert Logic console.
You must complete the following to send data from your Fortinet device(s) to Alert Logic:
Download and install the remote collector
To send data from your Fortinet device(s) to Alert Logic, you must first download and install the remote collector in the same network as the Fortinet device(s).
To download and install the remote collector:
- Review the requirements for the remote collector as outlined in Requirements for the Alert Logic Remote Collector and ensure all requirements are met.
- Complete the following instructions for Linux or Windows, making sure to choose a host in the same network as the Fortinet device(s).
- While installing the remote collector, note the IP of the host where the collector is installed. This IP will be needed when configuring the Fortinet device.
Configure Fortinet device
Once the remote collector is installed, the Fortinet device needs to be configured to send data to the collector. Some customers centralize multiple FortiGate firewall logs into a tool called FortiAnalyzer. Use one of the following processes based on whether you are performing configuration using FortiAnalyzer or FortiGate.
To configure the device using FortiAnalyzer:
- In the FortiAnalyzer user interface (UI), navigate to System Settings > Log Forwarding.
- In the toolbar, click Create New. The Create New Log Forwarding window will open.
- To create the new log forwarding, enter the following information:
- Name: Enter a name to identify the remote collector; the name does not need to be the actual hostname.
- Status: Select On.
- Remote Server Type: Select Syslog.
- Server IP: Enter the IP of the remote collector.
- Server Port: Set as 1515 or the port you have configured the remote collector to listen on.
Reliable Connection: Set to Off, as Alert Logic requires UDP.
Due to Fortinet's use of octet-counting, Alert Logic does not support ingesting Fortinet logs over TCP.
- Configure the remaining options as desired.
- Click OK.
To configure the device using FortiGate v.7.6 or above:
Before you begin, verify you have enabled logging in every traffic/security policy you intend to monitor. The following steps describe how to turn on remote logging and send logs to an Alert Logic remote collector.
- In the FortiGate UI, navigate to Log & Report, and then click Log Settings.
- Toggle on the Syslog logging option.
- Enter the IP address of your remote collector.
- Click Apply to save the changes.
- In the Fortinet CLI, enter the following commands to change the default syslog port to 1515 and the protocol to UDP:
- config log syslogd setting
set status enable
set mode udp
set port 1515
end
Due to Fortinet's use of octet-counting, Alert Logic does not support ingesting Fortinet logs over TCP.
Verify log collection
Once you have installed the remote collector and configured the Fortinet device, it is recommended to verify that log collection is successful. It may take up to 15 minutes for Alert Logic to begin receiving logs.
- Log in to the Alert Logic console and use one of the following links to access the Search console with criteria already entered:
- Uncomment either of the two commented lines with SQL parameters and replace either $COLLECTOR_ID or $COLLECTOR_IP with your preferred identifier for the remote collector.
- Click Search.
- Verify logs display for the remote collector.