On 21 May 2017, at 15:41, Brian Kantor
<Brian(a)UCSD.Edu> wrote:
(Please trim inclusions from previous messages)
_______________________________________________
I'm now gathering netflow-like statistics from the router daemon.
It's a lot of data.
I've been unable to find a clear definition of the standard (v1 or v5)
netflow disk file format, so I don't have input suitable for any of the
good analysis tools. Does anyone have such a description?
Sorry to be late to the party. The most widely used versions now are v5 and v9. v9
is more flexible and it even supports IPv6. Not only Cisco and Juniper but other router
manufacturers like Mikrotik and Ubiquiti export usable Netflow packets.
There is also a new, more open standard format called IPFIX.
And what are your favourite analysis tools?
I guess most people are using nfdump/nfsen like myself. It’s not perfect but it can be
very useful.
I run it on FreeBSD, of course benefiting from the wonders of ZFS :)
For some reason (I don't remember why) finally I didn't use the ports version, but
I installed
the dependencies from ports and I set up nfsen manually. Also, I use nginx rather than
Apache
as a front-end and I run PHP in fpm mode instead of being a web server module.
I can help, let me know if you need it.
For a more modern, trendy approach, you could try with Elasticsearch + Kibana + Logstash.
Elasticsearch is a powerful search database and engine, Kibana allows you to make searches
and
create nice graphs and Logstash is the ingestion tool that understands many formats
(including Netflow).
That’s the approach I am trying now at home, in parallel with nfsen+nfdump.
At work (AS3262) we have a new Elastic setup but so far I am keeping my trusty, old
nfdump+nfsen.
Borja - EA2EKH