Technical Tip: FortiAnalyzer shows devices as down and a stale Last Log time for 10-15 minutes after a reboot
Description
This article describes why, after a FortiAnalyzer reboot, managed devices may show a connectivity status of down and a blank or outdated Last Log Received time in Device Manager for about 10-15 minutes, even though the FortiGate shows its connection to FortiAnalyzer as up.
Scope
FortiAnalyzer, FortiGate.
Solution
After a FortiAnalyzer restart, the FortiGate may reconnect and resume sending logs before the FortiAnalyzer GUI updates its device status. During this period:
-
Devices appear as down in Device Manager.
-
The Last Log Received time is empty or shows the time from before the reboot.
-
On the FortiGate, the FortiAnalyzer connection shows as up.
Â
This is expected behavior.
No configuration change is required. Wait 10-15 minutes after the reboot, then refresh the page. The device status and Last Log Received time update automatically.
Â
To confirm that the FortiGate is connected and sending logs while the FortiAnalyzer GUI still shows down:
Â
-
On the FortiGate, verify the connection to FortiAnalyzer:
Â
execute log fortianalyzer test-connectivity
get log fortianalyzer setting status
The connection should be reported as registered/up.
Â
-
On the FortiAnalyzer, list the devices that are currently sending logs:
Â
diagnose test application oftpd 3
Â
The FortiGate should be listed with its IP address and serial number, and the received packet count should be increasing.
Â
-
Check the log receive rate on the FortiAnalyzer
Â
diagnose fortilogd lograteÂ
If the status does not recover after 30 minutes, or the FortiGate cannot reach the FortiAnalyzer, check the following:
-
Network connectivity between the FortiGate and the FortiAnalyzer (ping and port 514).
-
That the device is registered and authorized in Device Manager.
-
That the 'fortilogd' service is running normally.
-
The known issues in the release notes for the FortiAnalyzer firmware version in use.
Â
If the issue persists, open a case with Fortinet Technical Support and include the FortiAnalyzer and FortiGate firmware versions, the reboot time, and the output of the commands above.
Â
Note:
Plan FortiAnalyzer reboots for a maintenance window and inform stakeholders that device status and last log time may take 10-15 minutes to refresh afterward.
