FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ngujrathi
Staff
Staff
Article Id 424518
Description

This article describes how to resolve a 'Failed to get data' error which may appear when retrieving logs from FortiGate Cloud using a 24-hour or 7-day time range with multiple filters applied.

  • Log queries fail for 24 hours or 7 days when multiple filters are applied.

  • Log queries succeed for shorter time ranges (such as 1 hour, or fewer filters with 24 hours or 7 days).

  • Log queries succeed when filters are reduced or removed.

Scope
  • FortiGate.

  • FortiOS (all supported versions).

  • FortiGate Cloud logging.

Solution

When multiple filters are applied over an extended time range, the log query sent to FortiGate Cloud requires additional processing time due to the volume of data.

 

The FortiGate device enforces a default connection timeout for communication with FortiGate Cloud.


If the query does not complete before this timeout expires, the connection is terminated, resulting in the 'Failed to get data' error.

 
 

Solution: Increase the FortiGate Cloud connection timeout on the FortiGate device to allow the query to complete.

 

config log fortiguard setting
    set conn-timeout 120
end

 

The timeout value is specified in seconds.

 

Refer to the screenshot below:

 

Screenshot 2026-01-07 160628.png

 

Screenshot 2026-01-07 150353.png