Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of vFlow or Goflow Netflow/IPFIX collector module in a Telegraf input plugin #8425

Closed
door7302 opened this issue Nov 17, 2020 · 5 comments
Labels
area/network New plugins or feature relating to Network Monitoring feature request Requests for new plugin and for new features to existing plugins new plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins upstream bug or issues that rely on dependency fixes waiting for response waiting for response from contributor

Comments

@door7302
Copy link
Contributor

door7302 commented Nov 17, 2020

Feature Request

NetFlow/IPFIX collector as Telegraf's input plugin

Proposal:

There are several nice Go Projects that provide reliable and scalable solutions to collect Netflox/IPFIX sample information from network devices.

It would very useful to "backport" the " Netflow/IPFIX collector module" of one of this project in a dedicated Telegraf Input plugin.

Current behavior:

Desired behavior:

Use case:

Currently we collect traffic stats of our networking devices via the gnmi Telegraf plugin. We also collect in // Netflow/IPFIX with another tool and we wish to have a single collector solution to collect all data from our network. We love Telegraf solution and moreover we have already developed several Telegraf Processor Plugins to manipulate and enrich our data collected by telegraf input plugin and we wish to reuse them for Netflow/IPFIX sampled data.

@door7302 door7302 added the feature request Requests for new plugin and for new features to existing plugins label Nov 17, 2020
@door7302 door7302 changed the title Integration of vFlow or Goflow Netflow/IPFIX collection module as Telegraf input pludin Integration of vFlow or Goflow Netflow/IPFIX collector module in a Telegraf input plugin Nov 17, 2020
@sjwang90 sjwang90 added new plugin area/network New plugins or feature relating to Network Monitoring labels Nov 17, 2020
@sjwang90
Copy link
Contributor

sjwang90 commented Nov 20, 2020

Currently we don't support binary (ex: protobuf) formats. There is a PR #3421 for support that may need some more progress.

I've opened some issues in goflow/vFlow repos to see if they're willing to support any other output formats in the meantime.

@sjwang90 sjwang90 added the upstream bug or issues that rely on dependency fixes label Nov 20, 2020
@lspgn
Copy link

lspgn commented Nov 20, 2020

GoFlow developer/maintainer here:
I'm not familiar with Telegraf/Influx, but if we are dealing with time-series, you will need to do an aggregation before insertion (eg: summing all sFlow packets by a key like destination ASN, port and protocol) which unfortunately is out of scope of the decoder.

Alternative that I've seen used with Logstash, you can have GoFlow output the samples as JSON in stdout (not using Kafka+protobuf).

@door7302
Copy link
Contributor Author

door7302 commented Nov 22, 2020

Thank you for your interest of my request. From my side I will have a look if I could 'POC' some stuff to integrate a part of goflow code in an input plugin. I will share my tests. We will also need a plugin of "aggregation" to aggregate sample data before sending to "Timeseries" DB to avoid the explosion of cardinality :)

It's a nice challange I guess. As i'm not a "expert" in dev I will share my tests, sample codes and maybe it will help to integrate something more reliable latter :)

@sjwang90 sjwang90 added the plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins label Jan 22, 2021
@sspaink
Copy link
Contributor

sspaink commented Sep 22, 2022

@door7302 were you able to make any progress on the proof of concept?

@sspaink sspaink added the waiting for response waiting for response from contributor label Sep 22, 2022
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Oct 7, 2022

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!

@telegraf-tiger telegraf-tiger bot closed this as completed Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/network New plugins or feature relating to Network Monitoring feature request Requests for new plugin and for new features to existing plugins new plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins upstream bug or issues that rely on dependency fixes waiting for response waiting for response from contributor
Projects
None yet
Development

No branches or pull requests

4 participants