| Description | This article describes a scenario under which the command 'set source ip' is not visible within the configuration settings for FortiAnalyzer logging (config log FortiAnalyzer setting) or for FortigateCloud logging. |
| Scope | FortiGate. |
| Solution |
When the 'set ha-direct' feature is enabled under 'config system ha', FortiGate uses the HA management interface to send logs to FortiAnalyzer or to FortigateCloud.
If the intention is to transmit logs using a specific source IP address, it becomes necessary to disable the 'set ha-direct' feature.
config system ha set mode a-p set hbdev "port3" 0 set ha-mgmt-status enable config ha-mgmt-interfaces edit 1 set interface "port6" next end set override disable set monitor "port10" set ha-direct enable <----- end
FG(global) # config log fortianalyzer setting FG(setting) # set source-ip 1.1.1.1 command parse error before 'source-ip' Command fail. Return code -61
FG(global) #config system ha FG(ha) #set ha-direct disable <----- FG(ha) #end After disabling 'ha-direct', it is possible to set the source-ip:
FG(global) # config log fortianalyzer setting FG(setting) # set source-ip 1.1.1.1 FG(setting) # end
FG(global) # config log fortiguard setting FG(setting) # set source-ip 2.2.2.2 FG(setting) # end
config system ha set ha-direct enable
Related articles: |
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 2026 Fortinet, Inc. All Rights Reserved.