Greetings!
To answer your questions:
When FortiGate is collecting transmit (TX) and receive (RX) traffic for a specific interface to draw a graph internally (not yet exported to FortiManager or FortiAnalyzer), the sampling rate for the traffic is based on time. The bandwidth graph is calculated using data points collected at specific time intervals. For example, in the one-hour graph, there is 1 data point every 3 minutes, and in the 24-hour graph, there is 1 data point every 72 minutes. This means that the sampling rate is time-based, with data points averaged over specific time periods.
When the collected logs are sent to FortiManager (FMG), you may notice that on fresh logs, the data can show up to a 5-minute interval. However, when exploring older graphs, the time interval is compressed to about 30 minutes. This compression of data intervals is due to the way the data is aggregated and displayed in the reporting tools. As mentioned earlier, the longer the reporting period, the fewer data points are displayed, leading to a compression of the time intervals shown in the graph.
For more detailed information, you can refer to the Bandwidth difference between Dashboard interface widget and FortiView > Interfaces section in the provided context.
https://community.fortinet.com/t5/FortiGate/Bandwidth-difference-between-Dashboard-interface-widget-and/ta-p/211842
https://community.fortinet.com/t5/FortiAnalyzer/Technical-Tip-Bandwidth-Over-the-Time-for-specific-interface-in/ta-p/293955
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Interface-Bandwidth-Widget-Displays-Incorrect/ta-p/364434
https://community.fortinet.com/t5/FortiAnalyzer/Technical-Tip-Interface-bandwidth-difference-between-Fortigate/ta-p/286703
Regards!