CERT/CC
background
background
CERT NetSA Security Suite 
Open Source Tools for Network Monitoring 
News | Documentation | Downloads
YAF 0.8.1 | NAF 0.6.0 | SiLK 1.0.1 | RAVE 1.9.9
fixbuf 0.7.3 | ipa 0.2.1 | airdbc 0.2.2 | airframe 0.7.2 | Portal 0.8.0
SiLK - Documentation - rwsilk2ipfix
Documentation | Downloads | Release Notes | FAQ | License | Credits | Reference Data | Live CD


NAME

rwsilk2ipfix - Convert SiLK Flow records to IPFIX records


SYNOPSIS

  rwsilk2ipfix [--ipfix-output=FILE] [--print-statistics] [FILES...]


DESCRIPTION

rwsilk2ipfix reads SiLK Flow records from the input file names specified on the command line or from the standard input when no file names are specified, converts the records to an IPFIX (Internet Protocol Flow Information eXport) format, and writes the IPFIX records to the path specified by --ipfix-output or to the standard output when stdout is not the terminal and --ipfix-output is not provided.

If the input file names end in .gz, they will be uncompressed as they are read. When stdin is provided as an input file name, rwsilk2ipfix will read records from the standard input.


OPTIONS

Option names may be abbreviated if the abbreviation is unique or is an exact match for an option. A parameter to an option may be specified as --arg=param or --arg param, though the first form is required for options that take optional parameters.

--ipfix-output=FILE
Write the IPFIX records to FILE, which must not exist. If the switch is not provided or if FILE has the value stdout, the IPFIX flows are written to the standard output.

--print-statistics
Print, to the standard error, the number of records that were written to the IPFIX output file.


EXAMPLES

To convert the SiLK file silk.rwf into IPFIX format:

  rwsilk2ipfix --ipfix-output=ipfix.dat silk.rwf

To view the contents of ipfix.dat using the yafscii tool (see http://tools.netsa.cert.org/yaf/):

  yafscii --in=ipfix.dat --out=-

To convert the file back into SiLK Flow format:

  rwipfix2silk --silk-output=silk2.rwf ipfix.dat


SEE ALSO

rwipfix2silk(1), yafscii(1)