Created on 08-10-2024 01:39 PM Edited on 12-23-2024 11:01 PM By Anthony_E
Description | This article describes how to configure Syslog on FortiGate. |
Scope | FortiGate. |
Solution |
Below are the steps that can be followed to configure the syslog server:
From the GUI:
If it is necessary to customize the port or protocol or set the Syslog from the CLI below are the commands:
config log syslogd setting set status enable set server "192.168.1.19" set mode udp set port 514 end
To establish the connection to the Syslog Server using a specific Source IP Address, use the below CLI configuration:
config log syslogd setting set mode udp set port 514
The source '192.168.1.1' can be any IP address of the FortiGate's interface that can reach the syslog server IP of '192.168.1.19' in the above example.
The ping and ping-options command from the CLI can be used to check basic connectivity to the Syslog server from a specific source IP.
exec ping-options source 192.168.1.1 --- 192.168.1.19 ping statistics ---
To filter the logs according to severity: Technical Tip: Setting Filter Based on Severity for External Syslog in FortiGate. Technical Tip: Standard procedure to format a FortiGate Log Disk, log backup from disk Technical Tip: How to download Logs from FortiGate GUI |
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.