Description
Solution
Upgrade path:
One of the reasons that often leads to an empty report is the case when the FortiAnalyzer upgrade path is not properly followed. Thus, first check the upgrade path in the CLI and compare it to the Upgrade Path Tool recommendations.
diagnose cdb upgrade summary
Compatibility:
Validate that the FortiAnalyzer is not running a version lower than the FortiGates. Use the Compatibility Tool.
Report Time Frame and Filters:
Validate the time frame for which the report should be generated and the Filters used.
Go to All Reports -> Select a report -> Settings -> Time Period/Filters.
For the 'Time Period', make sure it is possible to see the analytics logs for that period:
FortiAnalyzer 7.2.x: Log View -> FortiGate.
FortiAnalyzer 7.4.x: Log View -> FortiGate.
FortiAnalyzer 7.6.x: Log View -> Logs -> Fortinet Logs -> FortiGate.
Do not forget to choose the specific device the logs from which should be used in the report.
If there are no logs, it is possible to generate test logs with the command below on the FortiGate.
diagnose log test
For the 'Filters', make sure the correct values are used in the 'Log Field'.
These values should exist in the received logs.
To check the values in the logs, find a corresponding log and double click it to see its properties.
User Reports:
Because of the case sensitivity, if using the User reports, ensure to type the username the same way as it is seen in the 'Log View'.
Dataset:
Reports consist of Charts. Charts are based on the Datasets.
Check what the Dataset is used to create Charts in the affected (empty) Report. Test this Dataset.
How to identify the Dataset used in the Report:
Go to Reports -> Report Definitions -> All Reports -> Open a report -> Editor ('Layout' in earlier versions) -> Select any Chart (or use the cogwheel icon) -> Clone Chart -> Check the Dataset name.
Write down or copy the name of the Dataset.
The 'Clone Chart' option was used just to see the Dataset name. Now, press 'Cancel' so the Chart is not actually cloned.
How to test the Dataset:
Go to Reports -> Report Definitions -> Datasets. Search for the Dataset from the previous step.
Select the Dataset and press 'View'.
See the SQL query that generates specific output for the Chart. Investigate the query and make sure it is correct.
Use 'Validate' to check the query is properly configured. Use 'Format' to see the query in a more readable way.
Choose the 'Time Period'. It should be the same as it is supposed to be in the Report.
Choose the 'Devices' used for collecting the data. Press 'Go' ('Test' in earlier versions).
If no data is shown or the data is not complete, it may be the case there are no logs for that 'Time Period'/'Device' or the logs are not complete (check log properties as described above).
To retrieve report generation logs:
diagnose debug application sqlreportd 255
diagnose debug enable
While the debug is running, execute the report via GUI or CLI as described in step 3. After the debug output is generated, close the debugging in the CLI via commands:
diagnose debug disable
diagnose debug reset
Related documents:
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.