The NEMEA module reads nfdump files and sends flow records in UniRec format on its output TRAP interface. A filter in the same format as nfdump uses may be applied to filter flow records. If more files are specified, all flows from the first file are read, then all flows from second file and so on.
- Input: 0
- Output: 1 (
<COLLECTOR_FLOW>)
FILEA file in nfdump format.-f FILTERA nfdump-like filter expression. Only records matching the filter will be sent to the output.-c NRead only the firstNflow records.-nDo not send "EOF message" at the end.-TReplace original timestamps by record actual sending time.-l mUse link mask m forLINK_BIT_FIELD. m is 8-bit hexadecimal number.-p NShow progress - print a dot everyNflows.-r NRate limiting. Limiting sending flow rate toNrecords/sec.-RReal time re-sending. Re-sending records from given files in real time, respecting original timestamps (seconds). Since this mode is timestamp order dependent, real time re-sending is done only at approximate time.
-h [trap,1]Print help message for this module / for libtrap specific parameters.-i IFC_SPECSpecification of interface types and their parameters.-vBe verbose.-vvBe more verbose.-vvvBe even more verbose.
./nfdump_reader -i IFC_SPEC [-f FILTER] [-c N] [-n] FILE [FILE...]
- Note: In output format, not all fields are filled!