Created on
04-06-2022
01:43 AM
Edited on
07-23-2025
12:55 AM
By
Jean-Philippe_P
Description | This article describes how to troubleshoot no log received FortiAnalyzer VM. |
Scope | FortiAnalyzer and FortiGate. |
Solution |
From FortiGate CLI:
From FortiGate CLI:
execute log fortianalyzer test-connectivity
Analyze all information/logs obtained.
If FortiGate is sending a log to FortiAnalyzer successfully, check for any abnormal logs on the FortiAnalyzer TAC report.
If this output on the FortiAnalyzer TAC report is found/observed, this shows that the FortiAnalyzer is constantly out of memory.
<3>[97484.603631] Out of memory: Kill process 21679 (sqllogd) score 93 or sacrifice child
Suggest to the user to increase the memory allocation for FortiAnalyzer.
After FortiGate was upgraded, the FortiAnalyzer had an issue receiving a log from FortiGate when FortiGate Cloud was enabled. When running the 'exe log fortianalyzer test-connectivity', it is possible to see from Log: Tx & Rx that the FortiAnalyzer is only receiving 2 logs from FortiGate:
Ertiga-kvm30 # execute log fortianalyzer test-connectivity
Check the 'diagnose test application fgtlogd 41', if there is any queue log to be sent to FortiAnalyzer.
Ertiga-kvm30 # diagnose test application fgtlogd 41 cache maximum: 20892672(19MB) objects: 14 used: 12782(0MB) allocated: 13888(0MB)VDOM:root Confirm queue for: global-faz
As the log has been queued to send to FortiAnalyzer, restart the fgtlogd daemon process for the daemon process to be able to send the log to FortiAnalyzer
fnsysctl killall fgtlogd --> Until it mentioned 'killall: fgtlogd: no process killed'.
Then run again 'exe log fortianalyzer test-connectivity' if the Tx and Rx have been increased.
If there is no log has been queued, restart the miglogd process on FortiGate.
fnsysctl killall miglogd --> Until it mentioned 'killall: miglogd: no process killed'.
Related articles: Troubleshooting Tip: FortiGate to FortiAnalyzer connectivity |
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.