FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ddeguzman
Staff
Staff
Article Id 342712
Description This article describes how to setup FortiGate logging to FortiCloud while being managed by FortiManager.
Scope FortiGate, FortiCloud.
Solution

It is possible to enable Cloud logging in FortiGate while it is managed by FortiManager Cloud or On-premise. In this example, an on-premise FortiManager is used.

 

  1. FortiGate is currently managed by an on-premise FortiManager:


Logs_GUIFMGR.JPG

 

Via CLI:

 

 config system central-management

set type fortimanager   <----- Previously set to FortiCloud it was managed by FortiCloud before.

set fmg <10.47.1.168>

end

 

  1. Enable Cloud logging to FortiCloud:

 

Logs_GUICloud.JPG

 

Via CLI:

 

config log fortiguard setting

set status enable

end

 

  1. It is expected that the tunnel management is down in FortiCloud since the FortiGate is set up to be managed by FortiManager. However, the logs will continue to be received in FortiCloud:

 

Logs_StatusDown.JPG

 

  1. Confirmed logs are populated inside FortiGate Cloud:

 

Logs_TrafficLogsReceived.JPG
How to view logs on FortiGate Cloud:

Technical Tip: How to view logs on FortiGate Cloud

 

Related documents:

Technical Tip: How to register a FortiGate to a FortiManager from the CLI

Configuring central management

Technical Tip: How to enable FortiCloud logging from CLI
Contributors