Solution | Configuration details:
Create a Log Forwarding server under System Settings -> Log Forwarding with the following options enabled:
Enable the following option in either the GUI or CLI:
set fwd-reliableÂ
Enable the following option in the CLI:
set fwd-secure
  By default, it uses Fortinet’s self-signed certificate.
 Common Problems:  If the remote server can trust Fortinet’s self-signed CA certificates, then upload 'Fortinet_CA' and 'Fortinet_SUBCA' to it. If not, obtain a new certificate for FortiAnalyzer, which should be signed by a publicly trusted CA (like DigiCert), and use that as an OFTP certificate. (This option would also need to upload a CA certificate on all FortiGates sending logs).
 FortiAnalyzer follows RFC 5424 protocol. But, the syslog server may show errors like 'Invalid frame header; header=''.
This usually means the Syslog server does not support the format in which FortiAnalyzer is forwarding logs.
Note:
Log forwarding is not supported on FortiManager, including when FortiAnalyzer features are enabled.  Related articles: |