Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package cert
    Definition Classes
    org
  • package netsa
    Definition Classes
    cert
  • package io
    Definition Classes
    netsa
  • package silk

    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)
    }
    Definition Classes
    io
    See also

    org.cert.netsa.mothra.datasources.silk.flow for working with SiLK data in Spark using the Mothra SiLK datasource.

  • object HeaderEntry
    Definition Classes
    silk
  • Annotation
  • Bag
  • IPSet
  • Invocation
  • PackedFile
  • PrefixMap
  • ProbeName
  • Unknown

case class PackedFile(startTime: Long, flowtypeId: FlowType, sensorId: Sensor) extends HeaderEntry with Product with Serializable

Header entry used for data files generated by rwflowpack. It specifies the following fields that are simplified or the same for all entries in a packed file. (Times are offsets from startTime, flowtypeId and sensorId are the same for all records.)

startTime

Base start time, in milliseconds since the UNIX epoch. Times in this file are expressed as a delta from this base start time.

flowtypeId

SiLK flow type for all flows in this file.

sensorId

SiLK sensor ID for all flows in this file.

Linear Supertypes
Serializable, Serializable, Product, Equals, HeaderEntry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackedFile
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HeaderEntry
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PackedFile(startTime: Long, flowtypeId: FlowType, sensorId: Sensor)

    startTime

    Base start time, in milliseconds since the UNIX epoch. Times in this file are expressed as a delta from this base start time.

    flowtypeId

    SiLK flow type for all flows in this file.

    sensorId

    SiLK sensor ID for all flows in this file.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. val flowtypeId: FlowType
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. val sensorId: Sensor
  15. val startTime: Long
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HeaderEntry

Inherited from AnyRef

Inherited from Any

Ungrouped