Fortinet black logo

New Features

WAN interface bandwidth log

Copy Link
Copy Doc ID de1e129a-0283-11ea-8977-00505692583a:458205
Download PDF

In the system performance statistics event log, waninfo (logID 40704) collects WAN interface information for analyzing purpose by FortiAnalyzer. The log supports up to three interfaces assigned a WAN role and the interfaces are displayed in alphabetical order.

To view the WAN interface bandwidth log in the GUI:
  1. Go to Log & Report > Events.
  2. On the toolbar menu, select the System Events subtype from the dropdown.
  3. Select a Performance statistics log.
  4. Click Details and scroll to view the WAN Interface Information (log ID 40704).

To view the WAN interface bandwidth log in the CLI:
# execute log filter device fortianalyzer
# execute log filter category event
# execute log filter action "perf-stats"
# execute log display
Sample logs

When no WAN interface role is configured:

1: date=2020-01-24 time=11:17:57 logid="0100040704" type="event" subtype="system" level="notice" vd="vdom1" eventtime=1579893477525796593 tz="-0800" logdesc="System performance statistics" action="perf-stats" cpu=0 mem=19 totalsession=26 disk=1 bandwidth="46/127" setuprate=0 disklograte=0 fazlograte=0 freediskstorage=28349 sysuptime=4869 waninfo="N/A" msg="Performance statistics: average CPU: 0, memory: 19, concurrent sessions: 26, setup-rate: 0"

After three WAN interface roles are configured:

1: date=2020-01-24 time=11:26:58 logid="0100040704" type="event" subtype="system" level="notice" vd="vdom1" eventtime=1579894018320178732 tz="-0800" logdesc="System performance statistics" action="perf-stats" cpu=0 mem=19 totalsession=38 disk=1 bandwidth="40/95" setuprate=0 disklograte=0 fazlograte=0 freediskstorage=28349 sysuptime=5410 waninfo="name=dmz,bytes=6519/294381,packets=50/2407;name=ha1,bytes=474/0,packets=5/0;name=wan1,bytes=92312156/46493734,packets=811589/362592;" msg="Performance statistics: average CPU: 0, memory:  19, concurrent sessions:  38, setup-rate: 0"

After four WAN interface roles are configured:

1: date=2020-01-24 time=15:25:45 logid="0100040704" type="event" subtype="system" level="notice" vd="root" eventtime=1579908345124515733 tz="-0800" logdesc="System performance statistics" action="perf-stats" cpu=1 mem=34 totalsession=14 disk=1 bandwidth="120/93" setuprate=0 disklograte=0 fazlograte=0 freediskstorage=113870 sysuptime=603047 waninfo="name=~@.TEST........,bytes=16878/1057173,packets=282/3200;name=port2,bytes=178589214/140899648,packets=657920/769158;name=wan1,bytes=90/184,packets=1/2;" msg="Performance statistics: average CPU: 1, memory:  34, concurrent sessions:  14, setup-rate: 0"

In the system performance statistics event log, waninfo (logID 40704) collects WAN interface information for analyzing purpose by FortiAnalyzer. The log supports up to three interfaces assigned a WAN role and the interfaces are displayed in alphabetical order.

To view the WAN interface bandwidth log in the GUI:
  1. Go to Log & Report > Events.
  2. On the toolbar menu, select the System Events subtype from the dropdown.
  3. Select a Performance statistics log.
  4. Click Details and scroll to view the WAN Interface Information (log ID 40704).

To view the WAN interface bandwidth log in the CLI:
# execute log filter device fortianalyzer
# execute log filter category event
# execute log filter action "perf-stats"
# execute log display
Sample logs

When no WAN interface role is configured:

1: date=2020-01-24 time=11:17:57 logid="0100040704" type="event" subtype="system" level="notice" vd="vdom1" eventtime=1579893477525796593 tz="-0800" logdesc="System performance statistics" action="perf-stats" cpu=0 mem=19 totalsession=26 disk=1 bandwidth="46/127" setuprate=0 disklograte=0 fazlograte=0 freediskstorage=28349 sysuptime=4869 waninfo="N/A" msg="Performance statistics: average CPU: 0, memory: 19, concurrent sessions: 26, setup-rate: 0"

After three WAN interface roles are configured:

1: date=2020-01-24 time=11:26:58 logid="0100040704" type="event" subtype="system" level="notice" vd="vdom1" eventtime=1579894018320178732 tz="-0800" logdesc="System performance statistics" action="perf-stats" cpu=0 mem=19 totalsession=38 disk=1 bandwidth="40/95" setuprate=0 disklograte=0 fazlograte=0 freediskstorage=28349 sysuptime=5410 waninfo="name=dmz,bytes=6519/294381,packets=50/2407;name=ha1,bytes=474/0,packets=5/0;name=wan1,bytes=92312156/46493734,packets=811589/362592;" msg="Performance statistics: average CPU: 0, memory:  19, concurrent sessions:  38, setup-rate: 0"

After four WAN interface roles are configured:

1: date=2020-01-24 time=15:25:45 logid="0100040704" type="event" subtype="system" level="notice" vd="root" eventtime=1579908345124515733 tz="-0800" logdesc="System performance statistics" action="perf-stats" cpu=1 mem=34 totalsession=14 disk=1 bandwidth="120/93" setuprate=0 disklograte=0 fazlograte=0 freediskstorage=113870 sysuptime=603047 waninfo="name=~@.TEST........,bytes=16878/1057173,packets=282/3200;name=port2,bytes=178589214/140899648,packets=657920/769158;name=wan1,bytes=90/184,packets=1/2;" msg="Performance statistics: average CPU: 1, memory:  34, concurrent sessions:  14, setup-rate: 0"