Description | This article provides a dataset that can be used to analyze specific interface bandwidth in FortiAnalyzer. Pre-define the FortiAnalyzer dataset and report (Bandwidth and Application Report) allows to analysis of bandwidth for a device overall only. |
Scope | FortiAnalyzer. |
Solution |
In the example below, the inbound (source) and outbound (destination) bandwidth is calculated for both wan1 and wan2 interfaces
SELECT dom, firewall, interface, sum(byte_sent) AS total_sent, sum(byte_rcvd) AS total_rcvd, sum(byte_total) AS total
* in some cases, $DAY_OF_MONTH AS dom can be used instead of $flex_timescale(itime) AS dom ** Change interface name(s) appropriately in srcintf IN ('wan1', 'wan2') and dstintf IN ('wan1', 'wan2')
Related article: |