cloudflare / goflow

The high-scalability sFlow/NetFlow/IPFIX collector used internally at Cloudflare.
BSD 3-Clause "New" or "Revised" License
859 stars 172 forks source link

Idea/Feature: Extensible decoder #77

Open shyam334 opened 4 years ago

shyam334 commented 4 years ago

Netflow, IPFIX support templates, which supports device, device-class, vendor specific fields. These extended fields contain useful information, but it doesn't necessarily make sense to add to goflow's default list of supported fields.

The feature request is to have an extensible decoder for NFv9 and IPFIX, such that users are able to customise the decoder to support additional fields without having to maintain a full fledged fork of goflow.

As for implementation, I thought it could be :

What are your thoughts.