Good Morning,

*Brief description:*
I need to pass several NetFlow captured files via stdin to NFDUMP. The
problem is that NFDUMP just accepts the first file and ignore the other
stdin inputs.

*More details:*
I have NFDUMP files (with 5 mins interval) for 15 months. Each one is
compressed using bz2 format; we first dump the traffic and then compress
the captured file using bz2 (it is not recommended to compress the file
using NFDUMP while capturing them). Each file is 75 MB which becomes 270 MB
after decompression. I want to count the number of flows in 5 mins, 1 day,
and 1 week periods.  For one one week period, I need to decompress 2016
files which need 544 GB free space. So for each week, I need to read 2016
files and decompress them and then save them to hard disk, thereafter,
invoking NFDUMP with -R to read and analyse them. Saving to hard disk is
very very very time consuming (I have captured data for several months). I
have written a script which reads the zip file and decompresses them in
memory and feeds them to NFDUMP via stdin. The problem is that NFDUMP
accepts the first file as stdin input and ignore the other ones. Is there
any way to do this?

Best Regards
_______________________________________________
Nfdump-discuss mailing list
Nfdump-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfdump-discuss

Reply via email to