Description | This article describes how to change port and protocol for Syslog setting in the CLI. |
Scope | FortiGate CLI. |
Solution |
FortiGate will use port 514 with UDP protocol by default.
In order to change these settings, it must be done in CLI :
config log syslogd setting set mode ? <----- To see what modes are available, enable syslogging over UDP.
Then, execute the following packet trace in order to confirm that the settings above are taken into account and the FortiGate sends the logs properly:
FGT # diagnose sniffer packet any 'host <ip of syslog server> and port 514' 4 0 l |
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.