Troubleshooting Tip: FortiAnalyzer receive new logs but stop inserting logs
| Description | This article describes how to verify the issue by checking items in FortiAnalyzer, and an attempt to fix the FortiAnalyzer stops inserting the logs issue. |
| Scope | FortiAnalyzer. |
| Solution | There are many ways to verify when FortiAnalyzer receives the logs, but stop inserting according to the following list:
execute log fortianalyzer test-connectivity
The highlighted red box is able to verify that the logs are being sent and received by FortiAnalyzer.
From the highlighted box: Actual from yyyy/mm/dd hh:mm:ss to yyyy/mm/dd hh:mm:ss can be compared when the command is run again after the last check time.
diagnose test application sqllogd 4 <----- Responsible for parsing logs and writing them into the SQL database.
The command can be run 4-5 times in short succession to compare the file field in the highlighted box. It indicates the current file that the FortiAnalyzer is processing.
After running the command 4-5 times and verifying the file name has not changed, it is a good indicator that FortiAnalyzer is stuck on inserting the logs.
After having verified all the symptoms, the following steps can be taken as an attempt to resolve the issue:
diagnose debug crash read <----- Read and display stored crash information from the device.
Based on the output, check on the latest crash daemon and observe if the crash is SQL related, and it is near the last analytics logs.
If there are any, the daemon may be restarted using the following command:
diagnose test application <daemon_name> 99 <----- Example to restart the oftpd 'diagnose test application oftpd 99'.
diagnose test application fazcfgd 6 stat 100 <----- Inspect and debug the FortiAnalyzer configuration daemon (fazcfgd), focusing on its runtime statistics.
Note: The output would be too long as there will be event logs, ClickHouse Errors, and Postgres Errors.
From the output, check the error on that is the nearest date when the log stopped being inserted. For this example, the error from the output is extracted from the following:
Emergency/Critical log:
76163:2025-09-17 13:15:17 tz="+1000" log_id=0028037005 type=event subtype=fazsys pri=emergency desc="FortiAnalyzer daemon suspended" user="system" userfrom="system" msg="siemdbd suspended due to disk full." operation="Application suspend" performed_on="" changes="siemdbd stopped inserting logs." action="suspend"
Check the allocated storage of the ADOM and ensure enough storage is allocated by navigating to System Settings -> ADOM. Scroll to the right to see storage usage.
Note: For FortiAnalyzer Private Cloud, the minimum system requirements are 500GB. An unexpected behavior may occur due to not meeting the minimum requirements, including FortiAnalyzer not sending the logs: Minimum system requirements.
execute sql-local rebuild-db <----- Requires a restart.
Related article: Technical Tip: FortiAnalyzer SQL database delete and rebuild |



