Man pages sections > man1 > ft2nfdump

ft2nfdump - flow-tools data converter program

ft2nfdump(1) ft2nfdump(1)

NAME

ft2nfdump - flow-tools data converter program

SYNOPSIS

ft2nfdump [options]

DESCRIPTION

ft2nfdump is the flow-tools converter program to read, convert and store netflow data, created with the flow-tools package. It works either as a pipe filter or reads flow-tools data format directly from file and exports nfdump data format at stdout.
 

OPTIONS

-r <flow-tools-file>
Read flow-tools formated netflow data from file flow-tools-file. Default: Read from stdin.
-w <nfdump-file>
Write nfdump formated file for converted netflow data Default: Write to stdout.
-j
Compress flows. Use bz2 compression in output file. Space efficient methode
-z
Compress flows. Use fast LZO1X-1 compression in output file. Fastest method
-c num
Read only num flows from input file.
-E
Print raw netflow records to stdout. This option is for debugging purpose only, to see any incoming netflow data. Compatible to option -E in nfcapd.
-V
Print ft2nfdump version and exit.
-h
Print help text on stdout with all options and exit.

RETURN VALUE

Returns
0 No error.
255 Conversion failed.

EXAMPLES

flow-cat ft-v05.2015-05-01.* | ft2nfdump -j -w nfcap.20150501 Convert files into nfdump format.
flow-cat ft-v05.2001-05-01.* | ft2nfdump | nfdump -w nfcap.20010501 Convert files into nfdump format.
ft2nfdump -r ft-v05.2001-05-01 | nfdump -w nfcap.20010501 Convert files into nfdump format.

NOTES

SEE ALSO

nfcapd(1), nfdump(1), nfprofile(1), nfreplay(1)

BUGS

2009-09-09