NetFlow Ingest Guide
ServiceRadar ingests flow telemetry to expose traffic matrices, top talkers, and application reachability trends. The NetFlow collector ships with the poller image and relays enriched flow records into the CNPG telemetry database.
Collector Layout
- Listener: The poller exposes UDP 2055 for NetFlow v5/v9/IPFIX. When running in Kubernetes, bind the service via
serviceradar-netflow. - Buffering: Flow packets land in a bounded queue; tune
NETFLOW_QUEUE_DEPTHin the poller deployment for high-volume environments. - Forwarder: Parsed flows are batched into CNPG using the
netflow.flowsTimescale table schema.
Device Configuration
- Enable NetFlow export on routers, aggregation switches, or firewalls. Point the destination to the poller or gateway address.
- Set active and inactive timeouts (commonly 60s/15s) to balance detail with bandwidth.
- Export IPFIX templates when available; ServiceRadar infers fields dynamically and stores custom enterprise elements.
Registry and Metadata
- Use the Sync service to register flow exporters with site, tenant, and device tags.
- Populate interface maps in the registry so flows can be joined with SNMP interface stats.
- Capture application dictionaries (port → service mapping) in KV to improve SRQL readability.
Verification
- Query CNPG with
SELECT * FROM netflow.flows ORDER BY start_time DESC LIMIT 20;. - Visualize top talkers in the Web UI by enabling the
NetFlow Trafficdashboard (see the Web UI configuration). - Check the Troubleshooting Guide for packet loss, template mismatch, and exporter clock drift remedies.