How NetFlow collection in Security Onion works
Security Onion collects NetFlow through the Elastic NetFlow Records integration, which listens on UDP 2055 by default once the listen host is changed from localhost to 0.0.0.0 and the exporting device is allowed through the firewall. This is the method the Security Onion documentation describes for flow data, and it fits segments where a router, switch or firewall already exports flow records but no Security Onion sensor sees the traffic. Records that arrive through the integration appear in the NetFlow dashboard, so analysts can review flow activity alongside the rest of the data in the console. The integration covers the collection path only. It does not replace sensor-based packet analysis with Zeek and Suricata, and flow records do not carry the protocol detail or alerts those tools produce.
Three settings decide whether collection works, and each sits with a different team. The listen host is a Security Onion configuration change, so the platform owner must set it deliberately rather than leave the default. The firewall rule must permit traffic from each exporting device to UDP 2055 on the Security Onion node that receives it, which is a network security team decision. The exporter configuration on the router, switch or firewall is owned by the network team, who should confirm the exporter's supported flow format and destination address with the device vendor before expecting records. Confirm each of these against your own environment, since the exact steps depend on your grid layout and the version you run.
Before you scope the work, ask whether any segment truly lacks a sensor, since a sensor provides richer network data than flow records. Also confirm which Security Onion version your grid runs, because end-of-life dates differ by release and a platform scheduled for an upgrade may change how you configure the integration. The Security Onion NetFlow documentation lists the current steps, and it is the reference to check against your environment before making changes.
What you need before pointing NetFlow at Security Onion
NetFlow collection touches the Security Onion grid, the Console, the host firewall and every exporting device. Confirm each of these pieces before any change is made, because a gap in one of them usually shows up as silent missing records rather than an error.
A working Security Onion grid
Collection runs through Fleet and the Elastic Agent path, so the grid must already have Fleet working and reachable. Confirm the Security Onion version you run against the current EOL docs before planning, because 2.4 reaches end of life on October 1, 2026 and the NetFlow steps depend on the release line. Check whether your node that receives the flow data has the resources to handle the added traffic.
EOL docsAdministrator access to the Console
Adding the NetFlow Records integration, changing its listen host and checking the NetFlow dashboard all happen in the Security Onion Console with an administrator role. Confirm that the account you plan to use can edit Fleet policies and that someone with that access is available during the change window. If your organization enforces MFA or role-based access, confirm the role covers these pages before the work starts.
Permission to change the listen host
The NetFlow Records integration listens on localhost by default, so the listen host must be changed to 0.0.0.0 before any exporter can reach it. Confirm that your change process allows edits to an integration's bind address on the receiving node. Note which Fleet policy applies to that node, since a change made to the wrong policy will not affect the listener you expect.
A firewall change for UDP 2055
The default NetFlow port is UDP 2055, and the firewall must admit traffic from each exporter's address to the receiving host on that port. Ask the network and security teams to open the rule for the exporter addresses only, not for any source. Record the rule so that the same opening is reviewed when the grid is rebuilt or the host firewall groups are changed.
Exporters that can send NetFlow
Each router, switch or firewall must support NetFlow export and be able to send to a chosen destination address and port. Confirm the NetFlow version each device exports (for example v5, v9 or IPFIX) with the device vendor, because the integration must match what the device sends. Identify which segments lack a sensor, since NetFlow adds metadata for those networks but not full packet detail.
Configuring the NetFlow Records integration step by step
This sequence takes a Security Onion grid from no flow data to NetFlow records from a router, switch or firewall showing in the NetFlow dashboard. Each step ends with a check so you can confirm the listener, the network path and the data before moving on.
Add the NetFlow Records integration to a Fleet policy
In the Security Onion Console, open Fleet and add the NetFlow Records integration to the agent policy that covers the node which will receive flows, which is normally the sensor or the node you have chosen as the collector. Use the policy names shown in your own Console and confirm which policy applies to that node before saving. The step is done when the integration appears in the policy and the Fleet agent on the receiving node reports the updated policy as applied.
Change the listen host to 0.0.0.0
The integration's default listen host is localhost, which accepts traffic only from the node itself and will not receive flows from a router or switch. Edit the integration settings and change the listen host to 0.0.0.0 so the listener accepts traffic on the node's network interfaces. Verify the exact setting name in the Console. The step is done when the saved policy shows 0.0.0.0 as the listen host and the agent has applied it.
Confirm the listening port on the receiving node
The default port is UDP 2055. If you chose a different port in the integration, record it, because every exporter and firewall rule must match it. On the receiving node, check that a UDP listener exists on the expected port with a command such as
ss -lunrun as an administrator, and confirm the address shows 0.0.0.0 rather than 127.0.0.1. The step is done when the listener appears on the expected port and bind address.Open the firewall for the exporter address and port
Create a rule that allows UDP traffic from the exporting device's management or flow source address to the Security Onion receiving node on the port from the previous step. Limit the source to the exporter where possible rather than opening the port to every address. Apply the change in the host firewall and any upstream network firewall between the device and the node. The step is done when a test packet from the exporter reaches the node, which you can confirm with a packet capture on the receiving node filtered to that UDP port.
Configure the router, switch or firewall to export flows
On each device that will send flows, enable NetFlow export and point the collector at the Security Onion receiving node's address and the chosen UDP port. Check the device documentation for the supported NetFlow version, and confirm that the version is one the NetFlow Records integration accepts in your deployed version. Export only from interfaces you need to monitor, because each exporting interface adds records. The step is done when the device's counters show exported flow packets and the packet capture from the previous step shows traffic arriving from that device.
Verify flow records in the NetFlow dashboard
Open the NetFlow dashboard in the Security Onion Console and set the time range to the last few minutes. Filter by the exporter's address if the dashboard offers that field, and look for flow records with the expected source and destination addresses. If records do not appear, check the agent status for errors, the listener from the earlier step and the exporter's counters in that order. The step is done when records from each configured device appear in the dashboard within the time range you chose.
Document the exporters and ports for operations
Record each exporting device, its management address, the NetFlow version it sends, the receiving node and the UDP port, along with the firewall rule that allows it. Store this list with your grid runbook so that changes to node addresses or port numbers are reviewed before an exporter is reconfigured. Ask your team to confirm where this record lives and who updates it. The step is done when the list matches the live Fleet policy, firewall rules and device settings.
Which fields identify each flow source
This table compares the parts of a NetFlow record that tell you which device exported it, where it was sent and which conversation it describes. Use it to plan your first searches and dashboard filters, then confirm exact field names in the Security Onion NetFlow docs or in a test index before you build anything on them.
| Element | What the integration records | How to use it in the dashboard and hunts |
|---|---|---|
| Exporter device | The router, switch or firewall that generated the flow records, usually shown as a device or exporter identifier | Filter the NetFlow dashboard by exporter first so each segment is reviewed separately and gaps in one device are visible |
| Exporter address | The source IP address the device used when sending flow packets to the listener | Confirm this matches the management or export address you configured on the device, since NAT or a second interface can change it |
| Destination listener | The Security Onion listener on UDP 2055 that received the records, reached through the listen host setting | Check that records arrive at the listener address you set up, and use it to confirm the firewall rule allows the exporter |
| Flow direction | Whether the record reflects traffic entering or leaving the interface the exporter is monitoring, where the device reports it | Read direction against your segment design before concluding which side initiated a connection, and confirm how your device labels it |
| Source and destination addresses | The endpoints of each conversation as the exporter observed them | Pivot from an internal host to its outbound peers, and compare against Zeek or Suricata data for segments that also have a sensor |
| Source and destination ports | The transport-layer ports for each flow, which help identify services | Hunt for unexpected services or ports from a given host, and confirm port field names in your test index |
| Protocol and byte or packet counts | The protocol and volume counters the exporter included in each record | Spot large or unusual transfers and beaconing patterns, keeping in mind that counts depend on the exporter's sampling and export settings |
How flow records travel from exporter to dashboard
The diagram starts with routers, switches and firewalls on the exporter segment, which send NetFlow records across a trust boundary to the Security Onion listener on UDP 2055. A firewall rule sits on that path as the gate, and the listener must accept traffic from the exporter addresses. Records then pass through the Elastic NetFlow Records integration into Elasticsearch, where the NetFlow dashboard reads them. Confirm the grid roles and which node runs the listener against your own deployment, since this flow is generic.
Generic flow of NetFlow records from exporters to the dashboard, with the firewall gate shown.
Hardening the NetFlow listener and exporter path
The NetFlow path runs from exporters on routers, switches and firewalls, through a listener on UDP 2055, into the Security Onion grid and then to analysts in the Console. Each hop widens who can send data, who can change it and who can read it, so the controls below should be set together rather than one at a time.
Restrict the firewall rule to exporters
Opening UDP 2055 to an entire subnet lets any host in that range send flow records into the grid. Allow only the specific management or export addresses of the devices that actually send NetFlow, and write one rule per exporter where practical. Before go-live, confirm from the exporter's configuration that it sends from the address you allowed, because NAT or a different source interface can make the rule silently drop traffic. Record each allowed address with its owner so stale entries are easy to remove.
NetFlow docsKeep the listener on needed interfaces
The listen host is changed from localhost to 0.0.0.0 so the integration accepts traffic from the network. Check which interfaces on the node are reachable from the exporter segment, and make sure the listener is not exposed on management or internet-facing interfaces. Where the node has several NICs, confirm which one receives export traffic and verify that the listener is bound only where the exporters can reach it.
Limit who edits the Fleet policy
The NetFlow Records integration lives inside an Elastic Fleet policy, so anyone who can edit that policy can change the listener, the port or the agents that receive it. Limit policy edits to a named group of administrators in the Console and remove broad access from analyst roles. Review which accounts hold administrative rights before and after the integration is added, because the integration is only as protected as the accounts that can change it.
Log and review integration changes
Changes to the listener address, the port, the policy assignment or the integration version should leave a record that someone reviews. Confirm where Console and Fleet changes are logged in your deployment, who receives those logs and how long they are kept. A short, scheduled check of recent policy edits makes it easier to spot an unexpected change to the NetFlow path, such as a new listener address that was never agreed.
Treat flow data as sensitive
NetFlow records show which hosts talk to which, on what ports and how much data moves, which can reveal internal structure even without payload content. Decide how long flow data is retained, who can search it and whether the dashboards should be visible to all analysts. Set these choices in line with your data classification policy, and confirm retention settings in the environment rather than assuming the defaults fit.
Review Console access and MFA guidance
Flow data is only as safe as the Console that displays it. Review Security Onion's access control and multi-factor authentication guidance, then confirm that the roles assigned to analysts match what they need to see. Ask the exporter vendor which transport options its NetFlow or IPFIX export supports, and do not assume the flow is encrypted between the device and the listener unless the vendor confirms it.
Security Onion NetFlow docsWhy NetFlow records do not appear in the dashboard
This table pairs each common symptom with its likely cause and a check you can run to confirm it. Work down the rows in order, since the listener and network path must work before the dashboard can show anything. The main takeaway is that most empty NetFlow dashboards come from a listener bound to localhost, a blocked UDP path, or a time range that hides the data.
| Symptom | Likely cause | Fix and check |
|---|---|---|
| No flows arrive at the sensor or listener | The NetFlow Records listen host is still localhost, so the listener does not accept traffic from the exporter | Change the listen host to 0.0.0.0 in the integration settings, save the policy, then confirm with a socket listing on the node that UDP 2055 is bound to all interfaces |
| Listener is up but packet counts stay at zero | Host or port group firewall rules do not allow UDP 2055 from the exporter's address | Open UDP 2055 from the exporter's source IP to the receiving node in the firewall host or port group, then capture on the node to confirm packets reach the interface |
| Exporter reports sending but nothing is received | The exporter points at the wrong destination IP, the wrong port, or a TCP port instead of UDP | Compare the collector address and port on the router, switch or firewall with the listener, and check that the export protocol matches NetFlow version settings |
| Flows are received on the node but the agent shows no data | The NetFlow Records integration is not in the Fleet policy assigned to the agent that receives the flows | In Fleet, confirm the agent's policy includes the NetFlow Records integration, check the agent's status is healthy, and review the agent logs for input errors |
| Records exist in the index but the dashboard is blank | The dashboard time picker covers a window with no flows, or a filter excludes the exporter | Widen the time range to the last hour, clear query filters, then search the index by exporter address to confirm the records carry the expected fields |
| Dashboard shows some exporters but not others | A filter on one exporter or interface, or a mismatch in the exporter's observed fields, hides its records | Remove exporter-specific filters and compare the field values for a missing source with a working one to find the difference |
| Records appear briefly, then stop | The exporter's flow cache or export interval changed, or the policy was reverted during an update | Check the exporter's export settings and the Fleet policy revision history, then confirm new records arrive at the same index after the change |
When NetFlow is enough and when a sensor is needed
NetFlow is enough when the question is who talked to whom, when, and how much, and a sensor is needed when the question is what was said inside the session. A NetFlow record summarizes a conversation with addresses, ports, protocol, byte and packet counts and timestamps. That is useful for spotting scanning, unexpected east-west paths, data movement and beaconing patterns in a segment where nothing else can see traffic. A Security Onion sensor running Zeek and Suricata goes further: it parses protocols, extracts files, logs application metadata and raises signature-based alerts on content. A segment with no sensor is therefore a visibility gap that flow data can narrow but not close.
Before building anything, answer two questions. First, do the exporters on that segment already produce the flow format you need? Routers, switches and firewalls differ in which NetFlow or IPFIX versions they emit, whether they sample, and whether they export from every interface or only selected ones. Confirm the exporter model, firmware and flow version in the device documentation and check that its template fields include the addresses, ports, protocol and counters your investigations depend on. Second, does the security team need packet-level evidence? If an incident response procedure, a regulator or a legal hold expects to see payloads, certificates or file hashes, flow records will not meet that need, and a sensor or packet capture point has to be planned for the segment.
Write the answers down as a short decision record before you change any device. Note which segments will receive NetFlow only, which will get a sensor, and which accept the gap for a stated reason. Also record the exporter's sampling setting, because a sampled feed changes what counts can be trusted during an investigation. Plan a trial on one exporter first and confirm that records reach the NetFlow dashboard before adding more devices. Where a sensor is required, the Security Onion documentation on architecture explains how sensor nodes fit into a grid, and that design should be settled before the NetFlow listener is opened to a wider set of networks.
Configuring routers, switches and firewalls as exporters
Routers are often the most natural place to export flow data because they see traffic between segments. Before you change anything, confirm that the router model and software release support NetFlow export, and which version it emits. Export versions differ in the fields they carry, so the version you choose should match what the Security Onion NetFlow Records integration expects. Check the exact configuration path with the vendor documentation for your software release, because export commands vary widely between platforms and releases.
- Export support and version: Confirm the router supports NetFlow export on the interfaces you care about and which export version it emits.
- Destination and port: Point the exporter at the Security Onion listener address and UDP 2055, the default port for the NetFlow Records integration after its listen host is changed to 0.0.0.0.
- Source interface: Choose the interface the router uses to send export packets so the sender address is stable and allowed through your firewall rules.
- Timers: Record the active and inactive timeout values you select, since they change how long flows are held before export.
- Change record: Log the device, software release, configuration change and rollback steps in your change system before the change window.
Check that the router's export traffic reaches the listener and that flow records appear in the NetFlow dashboard before you close the change.
Switches export flow data less consistently than routers. Many access and distribution switches support flow export only on certain models, licenses or software trains, and some use a different export protocol or a sampled mode. Confirm this with the switch vendor for the exact model and software release in your environment before planning the change. Also confirm whether flow export runs in hardware or on the control plane, because that affects the load you put on the device.
- Model and licensing: Confirm which switch models and license levels include flow export, since support is often tied to specific platforms.
- Export version: Confirm which NetFlow version or flow protocol the switch emits and whether it matches the NetFlow Records integration.
- Destination settings: Set the collector address to the Security Onion listener and UDP 2055 or the port you have configured, and confirm the switch can reach it across the segment.
- Sampling: If the switch samples, record the sampling rate you choose, since sampled data changes the byte and packet counts you see in the dashboard.
- Change record: Capture the switch model, release, sampling rate and timers in the change record so later troubleshooting uses the same baseline.
After the change, verify that flow records arrive from each switch you intended to add, not only from one test device.
Firewalls often export flow data for the sessions they allow and deny, which makes them useful for segments without a sensor. Their export options differ by vendor, and some platforms export only traffic that matches specific policies or logging profiles. Confirm which export protocol and version your firewall supports, and whether it exports both permitted and denied sessions. Treat exported flows as one part of the picture: firewalls may also send log data through other channels, so keep the two data paths clearly documented.
- Export support and version: Confirm the firewall supports NetFlow export on your current software release and which version it emits.
- Destination and port: Point the export collector at the Security Onion listener on UDP 2055 and confirm that the management or data plane can reach it.
- Firewall rules: Allow the exporter's source address to reach the listener on UDP 2055 on the Security Onion side, and document the rule with its owner.
- Timers and session handling: Record the timeout settings and any session-based export options you choose, since they affect how long-lived sessions appear.
- Change record: Note the firewall platform, release, policy scope and rollback plan in the change record, and get approval from the team that owns the firewall.
Confirm that the firewall's flows are visible in the NetFlow dashboard and that the rule scope matches what the security team expects to see.
Questions teams ask before adding NetFlow to Security Onion
What does adding NetFlow to Security Onion actually involve?
It involves enabling the Elastic NetFlow Records integration on the Fleet policy that handles collection, changing the listen host from localhost to 0.0.0.0 so the listener accepts traffic, opening UDP 2055 on the Security Onion nodes, and configuring each router, switch or firewall to export flow records to that address. The work then ends with checking that records appear in the NetFlow dashboard. Teams usually treat the exporter configuration and the firewall change as the bulk of the effort, since those sit outside Security Onion.
Can our internal team set up NetFlow collection without outside help?
Yes, if you have people who can administer Security Onion's Fleet policies and who can configure flow export on your network devices. The steps are contained, but they touch three areas that often belong to different teams: the Security Onion console, the network devices and the firewall rules. Teams that have not changed Security Onion firewall host groups or exporter settings before often find the first run slower than expected. A partner is useful when those skills or change windows are thin, and an internal team is well placed when it already runs the platform day to day.
What drives the effort for a NetFlow project?
The main drivers are the number of exporters, how many firewall and network change requests you must raise, how much Fleet policy design is needed, and how much dashboard review you want. Each additional router, switch or firewall adds configuration, a verification step and a source to check in the dashboard. A single segment with one exporter is a small task. A multi-site estate with several device vendors, separate change boards and a requirement to document each source takes considerably more time. Ask any quote to break effort down along these four drivers.
How long does a NetFlow collection project take?
The duration depends mostly on your change control rather than on the Security Onion steps themselves. If firewall changes go through a board with a fixed meeting schedule, the calendar time can exceed the hands-on time by a wide margin. Other factors include how quickly device owners can enable export, whether a test window is available, and whether the dashboard review is part of the work. Confirm your change lead times and approval steps before agreeing a schedule, and ask a partner to state the dependencies it expects you to clear.
What do we need to provide before work starts on NetFlow?
Plan for four inputs: administrative access to the Security Onion console and the Fleet policy that will hold the integration, access to or named contacts for each exporting device, firewall change authority or a defined path to get UDP 2055 opened from the exporters to the collector, and a test window in which flow records can be checked without disrupting production routing. Missing any of these usually stalls the project at the firewall step. Confirm each one with its owner in writing at the start.
What should we ask for in a fixed-scope NetFlow quote?
Ask for a written scope that lists the exporter types and count, the Security Onion deployment it targets, the Fleet policy approach, who makes each firewall change, the test plan, and whether the NetFlow dashboard review and handover are included. Ask what the partner expects from your team and what happens if an exporter cannot be configured as planned. DeployOpen agrees scope, deliverables and timelines in writing before work starts and issues a quote from that written scope, so the document you receive should mirror those items one for one.
Which firewall settings do we need to check for NetFlow?
Check that UDP 2055 is allowed from each exporter's source address to the Security Onion node that receives flow records, and that the listener is bound to an address the exporters can reach. Confirm that the host and port groups in the Security Onion firewall reflect the same exporter addresses, and record who owns each rule. Verify the setting in the Security Onion documentation for your release before you rely on it, since defaults and interface details can change between versions.
How DeployOpen scopes and delivers NetFlow collection
DeployOpen plans, builds and documents NetFlow collection in Security Onion inside your own infrastructure, so segments without a sensor can feed the NetFlow dashboard. Each engagement starts from a written scope that names the exporters, listener settings and firewall rules involved.
How we scope
- Inventory the routers, switches and firewalls that will export NetFlow and confirm each exporter's software and export version.
- Map which network segments lack a sensor and decide where NetFlow adds visibility beyond existing Zeek and Suricata coverage.
- Agree the written scope, including exporter count, listener host, UDP 2055 firewall rules and the NetFlow dashboard deliverable.
How we build
- Install the Elastic NetFlow Records integration in Fleet and change the listen host from localhost to 0.0.0.0 under our change control.
- Open UDP 2055 only from the approved exporter addresses in the firewall and Security Onion host group settings.
- Test each exporter with a known flow, confirm records reach the NetFlow dashboard and document the results for your review.
How we hand over
- Deliver a configuration record listing exporters, integration version, listener settings, firewall rules and owners.
- Walk your operations and security staff through the NetFlow dashboard, checks for missing records and the change steps for adding exporters.
- Provide a retest record showing that the agreed exporters still send flows after the handover window closes.
How we support
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers.
- Retainer work can cover Security Onion upgrades, integration updates and checks after exporter or firewall changes.
- Confirm with us which support boundaries apply to your Security Onion version and the Elastic integration in use before work begins.

