Closed freedomwarrior closed 2 years ago
The codec used by ElastiFlow supports sFlow v5, which has been the current standard since 2004. What device do you have that sends sFlow v2?
Core switch Quanta LB6M firmwared into Brocade Turbo Iron 24x
Wow. That is surprisingly new gear to be supporting such an old and little used protocol. If you can provide a PCAP of the sFlow records I can look into what it would take to add support.
This one helps? Or I do wrong?
I was asking for the PCAP file so that I can investigate the details of a variety of flow records myself as well as create a replay script for testing.
That screenshot shows only a counter sample, not a flow sample.
I was asking for the PCAP file so that I can investigate the details of a variety of flow records myself as well as create a replay script for testing.
That screenshot shows only a counter sample, not a flow sample.
Ye, sorry https://github.com/freedomwarrior/123/blob/master/brocade.pcap
Thanks. You can delete the file now if you don't want that information to stay on the internet.
I can see a few differences between sFlow v2 datagrams and v5. They aren't significant, but they are there, and would prevent the current codec from working without modification. I will need to block out some time to work on this.
Ok, thank you very much!
@freedomwarrior in the mean time you could perhaps use sflowtool to convert the flows to netflow?
@freedomwarrior in the mean time you could perhaps use sflowtool to convert the flows to netflow?
Hello. Sorry for my late response.
I try this:
sflowtool -p 6343 -c elastiflow.collector -d 2055
but it seems not working.
I see udp datagrams from sflowtool, but logstash didn't record them.
09:55:23.640319 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920991 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
09:55:23.920992 IP relocate.net.35431 > lline-140-39.elastiflow.collector.2055: UDP, length 72
This issue is being closed as this legacy version of ElastiFlow is now deprecated and is to be archived. Please try the new ElastiFlow, request a free Basic Tier license, and join the ElastiFlow Community Slack. Thank you.
Does elkflow supports version 2 ?