2018-01-30 10:40:13 +00:00
|
|
|
================================
|
|
|
|
Using Insight - Netflow Analyzer
|
|
|
|
================================
|
|
|
|
OPNsense is equipped with a flexible and fast Netflow Analyzer called Insight.
|
|
|
|
To use Insight, one needs to configure the Netlfow exporter for local capturing
|
|
|
|
of Netflow data. To do so take a look at :doc:`netflow_exporter`.
|
|
|
|
|
|
|
|
--------------
|
|
|
|
User Interface
|
|
|
|
--------------
|
|
|
|
Insight is a fully integrated part of OPNsense. Its User Interface is simple yet
|
2019-03-06 17:27:21 +00:00
|
|
|
powerful. It can be accessed via :menuselection:`Reporting --> Insight`.
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
.. image:: images/insight_gui.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
Insight offers a full set of analysis tools, ranging from a graphical overview to
|
2018-12-24 11:06:22 +00:00
|
|
|
a csv exporter for further analysis with your favorite spreadsheet.
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
---------------
|
|
|
|
Graphs & Totals
|
|
|
|
---------------
|
|
|
|
The default view of Insight is the Top users and Graphical Overview.
|
|
|
|
This view allows for quick examination of current and past flows, showing a graph
|
2020-02-10 09:20:27 +00:00
|
|
|
for in and out going traffic for each configured interface.
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
Select Range & Resolution
|
|
|
|
-------------------------
|
|
|
|
In the top right corner a selection can be made for the date range and accuracy
|
|
|
|
(resolution) of the collected traffic flows.
|
|
|
|
|
|
|
|
View Type
|
|
|
|
---------
|
|
|
|
One can show the traffic flows in a stacked manner (default), as a stream or expanded
|
|
|
|
to compare usage with different interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
**Stacked**
|
|
|
|
|
|
|
|
.. image:: images/stacked_view.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
**Stream**
|
|
|
|
|
|
|
|
.. image:: images/stream_view.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
**Expanded**
|
|
|
|
|
|
|
|
.. image:: images/expanded_view.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
Interfaces
|
|
|
|
----------
|
|
|
|
Clicking on an interface disables or enables the graph view, double clicking select
|
|
|
|
only that interface.
|
|
|
|
|
|
|
|
Top Users
|
|
|
|
------------
|
|
|
|
The top 25 users are shown for a selected interface, both for ports and ips within
|
|
|
|
the previously selected date range.
|
|
|
|
|
|
|
|
Interface Top
|
|
|
|
-------------
|
|
|
|
Select the interface to see the top 25 users.
|
|
|
|
|
|
|
|
Port Pie Chart
|
|
|
|
---------------
|
|
|
|
The port pie chart shows the percentage per port/application. One can change the
|
|
|
|
view by clicking or double clicking on one of the shown port names/numbers.
|
|
|
|
|
|
|
|
Clicking on a piece of the pie will open a detailed view for further analysis.
|
|
|
|
|
|
|
|
.. image:: images/pie_piece.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
.. image:: images/pie_details.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
IP Addresses Pie Chart
|
|
|
|
----------------------
|
|
|
|
The IP addresses pie chart works the same as the ports pie chart and shows the
|
2018-11-08 19:59:18 +00:00
|
|
|
percentage per IP number. One can change the view by clicking or double clicking
|
|
|
|
on one of the shown IP numbers.
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
Clicking on a piece of the pie will open a detailed view for further analysis.
|
|
|
|
|
|
|
|
Interface Totals
|
|
|
|
----------------
|
|
|
|
Not shown in the screenshot but latest version also includes a Total for the
|
|
|
|
selected interface, shown are Packets (In, Out, Total) and Bytes (In, Out, Total).
|
|
|
|
|
|
|
|
|
|
|
|
------------
|
|
|
|
Details View
|
|
|
|
------------
|
|
|
|
One can open the details view by clicking on one of the pieces of a pie chart or
|
|
|
|
click on the tab **Details**.
|
|
|
|
|
|
|
|
When opening the details view by clicking on the tab one can make a new query.
|
|
|
|
|
|
|
|
.. image:: images/insight_details_view.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
After selecting a valid date range (form/to) and interface one can further limit
|
2018-11-08 19:59:18 +00:00
|
|
|
the output by filtering on port or IP address. Select the refresh icon to update
|
2018-01-30 10:40:13 +00:00
|
|
|
the detailed output. Leave Port and Address empty for a full detailed listing.
|
|
|
|
|
|
|
|
.. image:: images/insight_full_details.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
-----------
|
|
|
|
Export View
|
|
|
|
-----------
|
|
|
|
The **Export** view allows you to export the data for further analysis in your favorite
|
|
|
|
spreadsheet or other data analysis application.
|
|
|
|
|
|
|
|
.. image:: images/insight_export_view.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|
2018-01-30 10:40:13 +00:00
|
|
|
|
|
|
|
To export data, select a **Collection** :
|
|
|
|
|
|
|
|
* FlowSourceAddrTotals - Totals per source address
|
|
|
|
* FlowInterfaceTotals - Totals per interface
|
|
|
|
* FlowDstPortTotals - Totals per destination port
|
|
|
|
* FlowSourceAddrDetails - Full details per source address
|
|
|
|
|
|
|
|
Select the **Resolution** in seconds (300,3600,86400)
|
|
|
|
|
|
|
|
Then select a date range (from/to) and click the **export** button.
|
|
|
|
|
|
|
|
.. image:: images/insight_export.png
|
2018-07-31 14:51:11 +00:00
|
|
|
:width: 100%
|