-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Error processing IPFIX messages using telegraf [[inputs.netflow]] #13305
Comments
@vknyazhev can I use your captured packets to create unit-tests and add them to the repository, i.e. make them public? |
@srebhan Yes, sure. |
@vknyazhev can you please test the binary built in #13320 once CI finished the tests?! Let me know if it fixes your issue! |
|
May 23 14:43:05 home systemd[1]: Starting Telegraf... |
@vknyazhev please download Telegraf from #13320 (comment) as this has the fix. Extract or install Telegraf from the downloaded file and use the following config [[inputs.netflow]]
service_address = "udp://:2055"
protocol = "ipfix"
[[outputs.file]]
files = ["stdout"] and run # telegraf --config <the config above> --debug on a console. |
Some explanation... The
warnings are there because your device first sends some data and only after the first batch sends the templates. We simply ignore that first bunch of data as we do not know how to interpret them. This should only happen shortly after startup until the device first (re-)sends the templates. The
messages indicate that your device sends flows with Private Enterprise Number fields, here So this looks good. Thanks for testing. |
Good afternoon |
@vknyazhev please open a feature request for this as it is unrelated. |
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.26.2, Ubuntu 18.04.6 LTS
Docker
No response
Steps to reproduce
...
Expected behavior
The fields of recipients, senders, ip-addresses, etc. will appear, everything that is transmitted to the collector
Actual behavior
The logs show that an error occurs: E! [inputs.netflow] Error in plugin: No info template 259 found for and domain id 231
and after that telegraf is restarted, the data is not written to influxdb
Additional info
No response
The text was updated successfully, but these errors were encountered: