package io
Linear Supertypes
SiLK file formats, data types, and methods to read them, including support for reading them from Spark.
SiLK file formats, data types, and methods to read them, including support for reading them from Spark.
RWRec is the type of SiLK flow records.
You can use RWRecReader to read SiLK files from Scala, including compressed files if Hadoop native libraries are available. For example:
import org.cert.netsa.io.silk.RWRecReader import java.io.FileInputStream val inputFile = new FileInputStream("path/to/silk/rw/file") for ( rec <- RWRecReader.ofInputStream(inputFile) ) { println(rec.sIP) }
org.cert.netsa.mothra.datasources.silk.flow for working with SiLK data in Spark using the Mothra SiLK datasource.