That was fast and looks like a great start! :) For future enhancements to this - in order to expose metrics/stats for specific filters you could get inspiration from grok_exporter: https://github.com/fstab/grok_exporter, and have configuration options that accept nfdump filters and user-selectable tops that expose the data as custom metrics (somebody could script and generate the exporter config, and the exporter would gather data on request from nfdump/nfcapd).
It may be tricky to configure - having the configuration in the exporter means it needs to run nfdump against a nfcapd file on demand - which might not scale (it gathers data when the exporter URL is loaded, and it should be a quick process). Having the configuration to export in nfcapd would allow nfcapd to keep track of the metrics and the exporter would just collect the latest values. But changes imply restarting nfcapd... Regards, Adrian On Wed, Aug 25, 2021 at 1:24 PM Peter Haag via Nfsen-discuss < nfsen-discuss@lists.sourceforge.net> wrote: > As discussed, find a simple nfdump_exporter at > > https://github.com/phaag/nfdump_exporter > > - Peter > > -- > Be nice to your netflow data. Use NfSen and nfdump :) > > > _______________________________________________ > Nfsen-discuss mailing list > Nfsen-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss >
_______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss