This section describes each use case, the solution, and the configuration procedure.
To enable Real-Time Monitoring and Internal AppFlow collection
After you turn on AppFlow for the first time, you might need to restart the firewall for the change to take full effect.
Navigate to DEVICE | AppFlow > Flow Reporting.
Click the Settings tab.
Turn on Enable Real-Time Data Collection.
From the Collect Real-Time Data For menu, select the reports you want.
The Collect Real-Time Data For menu lists these reports: Top Apps, Bits per second, Packets per second, Average packet size, Connections per second, Core utilization, Interface protocols, and Memory utilization.

Turn on Enable Aggregate AppFlow Report Data Collection.
Turn on Enable AppFlow To Local Collector.
Click Accept at the bottom of the page to save the settings.
Navigate to NETWORK | System > Interfaces.
Click the Configure icon for the interface on which you want to enable flow reporting.
On the Advanced tab, ensure that the Enable flow reporting check box is selected.

Click OK.
To add a sensor using PRTG
See Add a sensor in the PRTG manual.
Go through the list of all matching sensor types and select the IPFIX (Custom) sensor.
Configure the IPFIX-specific settings:
In Receive IPFIX Packets on UDP Port, enter the UDP port number on which PRTG receives the flow packets. The default port is 2055.
In Sender IP Address, enter the IP address of the sending device that you want to receive the IPFIX data from.
In Receive Packets on IP Address, select the IP addresses on which PRTG listens for IPFIX packets. The list of IP addresses is specific to your setup. To select an IP address, select the check box in front of the respective line. The IP address that you select must match the IP address of the exporting device (the firewall).
In Active Flow Timeout (Minutes), enter a time span in minutes after which the sensor must receive new flow data. Set the timeout to 9 minutes. The timeout must exceed the active timeout of the firewall (the default is 60 seconds).
Click Continue and configure other settings to create the sensor.
After you configure the settings, click the sensor box to select the sensor.
To configure the external collector on the firewall
Turn on Send Flows and Real-Time Data To External Collector.
Select IP as the External Collector’s Server Address type, and enter the PRTG server’s IP address.
For more accurate reporting, turn on the following:
Report On Connection OPEN
Report On Connection CLOSE
Report Connection On Kilobytes Exchanged
In Actions, click Generate ALL Templates to force synchronization of the PRTG server.
Prerequisite: Ensure that the firewall is added to NSM and managed by NSM before flow reporting data can be sent to and displayed in NSM. For more information, see the latest SonicWall NSM Administration Guide.
To configure flow reporting