Packages

p

org.cert.netsa.mothra.tools

silk_appender

package silk_appender

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class DirMapping(incomingDir: Path, rootDir: Path, silkConfig: SilkConfig) extends StrictLogging with Product with Serializable

    A class to periodically check for packed SiLK Flow files in the directory incomingDir.

    A class to periodically check for packed SiLK Flow files in the directory incomingDir. For each source file, the file's contents is written to a target file in a directory hierarchy rooted at the directory rootDir. The location of the target file is determined by the given SilkConfig.

    Filenames in incomingDir that begin with a dot are ignored.

    The jobs() method returns an Iterable of PackFileJob instances where each instance spawns a thread to process the records in a single file.

    incomingDir

    The directory to check for incoming files.

    rootDir

    The root of the directory where new files are created.

  2. class Loader extends Runnable with StrictLogging
  3. case class SilkFileJob(sourcePath: Path, targetPath: Path)(implicit conf: Configuration) extends Runnable with StrictLogging with Product with Serializable

    Spawn a thread to copy the contents of sourcePath to targetPath and then remove sourcePath.

    Spawn a thread to copy the contents of sourcePath to targetPath and then remove sourcePath. If targetPath exists, a GUID suffix is added to the file name.

    sourcePath

    The file containing data to be copied.

    targetPath

    The destination for the data.

Value Members

  1. object DirMapping extends Serializable
  2. object Loader
  3. object Main extends App

Ungrouped