-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add version 9 support #77
Comments
Hello @raulot-a! I have not thought about it, since I use version 5 only. But that does not mean we cannot add it! Should be fairly straightforward to add new version as long as you have some samples of the version 9 files (I am not sure if flow-tools can generate one). One would need to make small number of changes in https://github.com/sadikovi/spark-netflow/tree/master/src/main/java/com/github/sadikovi/netflowlib/version and add format similar to version 7 https://github.com/sadikovi/spark-netflow/blob/master/src/main/scala/com/github/sadikovi/spark/netflow/version7/DefaultProvider.scala ... and it should work! I do not have samples of version 9 files, so it may be difficult to test afterwards. If you want you could open PR with changes. Let me know what you think! |
Yes, I will be adding support for v9 in couple of weeks, possibly this weekend. |
Hello @sadikovi, thank you for your response! That would have been my pleasure to contribute by adding version 9 support to the project but unfortunately I'm very busy at the moment. However I have version 9 files in my possession so if you need any help testing, please let me know. Also keep in mind version 9 is template-based in order to be more flexible. As I haven't dived into the code (yet), I'm not sure if this could potentially cause a problem.
That would be great! |
Could you attach some sample files to this issue? It would definitely help. Thanks. |
Here are some sample files containing randomly generated data: Hope it helps! |
I get |
Sorry, I have not started working on this, I am currently having problems getting/generating netflow version 9 files that actually work with Once I have them - will update the code. I will start without schema evolution/merge support (you can only read files that have the same schema, which should cover most of the cases), but we might add it in the future. |
What command and version of NfDump are you using?
Sounds good to me. |
I do not think it is version 9 of Cisco NetFlow, it looks like it is nfdump version of file. |
Hey @sadikovi @raulot-a Have you made progress on the V9/V10 support? |
No, I have not made any progress on this; to be honest, I have not looked at v9/v10 support for quite some time as you can tell. Should not be very difficult to add though. |
Ok, I am looking into adding it. |
Any update on adding V9 support? I'm interested in that. |
I am not sure if @czivar is working on it (if you do, please reply in the comments) but the main blocker is having sample files for testing, IMHO. If someone could provide those files, it would much easier to do the development and testing - I could take a look into this as well. |
Hi @sadikovi, are you planning to add version 9 support anytime soon?
The text was updated successfully, but these errors were encountered: