| Description | This article provides a workaround and a solution for an issue where a FortiGate device fails to send logs to the FortiGate Cloud Log Server. |
| Scope | FortiGate v7.2.7, v7.2.8, v7.4.5. |
| Solution |
FortiGate fails to send logs to the FortiGate Cloud Log Server, and the following errors appear in the fgtlogd debug output: diagnose debug application fgtlogd -1 Additionally, FDS counters are not increasing despite running the diag log test command multiple times.
After running the 'diagnose log test':
Logs are queued in the Confirm Queue for FortiCloud but are not being sent:
diagnose test application fgtlogd 30 2024-11-27 14:26:26 Confirm queue for: fds
Refer to this KB article below for instructions on downloading the firmware from the Fortinet Support portal: Technical Tip: How to manually download Firmware of FortiGate and how to upload it on FortiGate
Workaround:
General debug information required by FortiGate TAC for investigation:
Run the following command until it shows '_enqueue_lz4()-684: Failed to allocate memory for log queue.', and capture additional outputs: diagnose sniffer migsock filter name=fds
Important note: If all of the settings above are checked and still not receiving the logs on FortiGate Cloud, make sure that FortiGate is running the latest firmware in cases with a Free Subscription to FortiGate Cloud.
Starting from February 28, 2025, a FortiGate without an active FortiGate Cloud subscription is required to upgrade to the latest firmware patch within 7 days of a new GA patch release, or FortiGate Cloud services will be paused for that device.
This will affect the cloud retention service, where logs will not be forwarded to FortiCloud until the device is updated to the latest firmware patch if using a Free FortiGate Cloud account. More information can be found in Technical Tip: Security enforcement change for FortiGates provisioned to FortiGate Cloud without act....
Related article: FortiGate Cloud subscription types - FortiGate Cloud documentation |
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.