parser

package
v1.0.0-alpha2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2017 License: GPL-3.0 Imports: 21 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSImporter added in v1.0.0

type FSImporter struct {
	// contains filtered or unexported fields
}

FSImporter provides the ability to import bro files from the file system

func NewFSImporter added in v1.0.0

func NewFSImporter(resources *database.Resources,
	indexingThreads int, parseThreads int) *FSImporter

NewFSImporter creates a new file system importer

func (*FSImporter) Run added in v1.0.0

func (fs *FSImporter) Run(datastore *MongoDatastore)

Run starts importing a given path into a datastore

type MongoDatastore added in v1.0.0

type MongoDatastore struct {
	// contains filtered or unexported fields
}

MongoDatastore is a datastore which stores bro data in MongoDB

func NewMongoDatastore added in v1.0.0

func NewMongoDatastore(session *mgo.Session, metaDB *database.MetaDBHandle,
	bufferSize int, logger *log.Logger) *MongoDatastore

NewMongoDatastore creates a datastore which stores bro data in MongoDB

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL