Troubleshooting Tip: FortiView does not show correct number of users in FortiView VPN
| Description | This article describes troubleshooting steps for when the graphical chart in FortiView does not show the correct information when compared to live data in FortiGate. |
| Scope | FortiAnalyzer, FortiGate. |
| Solution | The flow of actions for the graphical chart in FortiAnalyzer is as follows:
When issues arise, the flow of actions can be referred to to create troubleshooting steps. Below are examples of the problem that show the graph in FortiView is inaccurate: In FortiAnalyzer:
In FortiGate:
Based on the screen capture, FortiGate is showing 3 users currently connected to the VPN, but in FortiView, it is showing 'No record found'.
Troubleshooting steps can be checked as follows:
Listed below are the important outputs that can be checked to see if the logs are being inserted:
diagnose test application logfiled 4
diagnose log device
diagnose sql hcache status all
execute log fortianalyzer test-connectivity
The following output indicates that forwarding to FortiAnalyzer is working as expected. Log: Tx & Rx (8126 logs received since 19:23:25 11/24/25).
Based on the screen capture, the issue is that there are no 'tunnel_stats' logs being generated by the FortiGate, and since there are no 'tunnel_down' logs yet due to users still connecting to the VPN, FortiAnalyzer is unable to plot the chart with only 'tunnel_up'. Therefore, FortiAnalyzer is unable to show the chart due to not information.
config system settings
config log fortianalyzer setting
Related articles: Technical Tip: How to modify IPsec VPN log generation interval |


