Documentation ¶ Overview ¶ Package mongodb is a parser for mongodb logs Index ¶ type MongoLineParser func (m *MongoLineParser) ParseLine(line string) (map[string]interface{}, error) type Options type Parser func (p *Parser) Init(options interface{}) error func (p *Parser) ProcessLines(lines <-chan string, send chan<- event.Event, prefixRegex *parsers.ExtRegexp) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type MongoLineParser ¶ type MongoLineParser struct { } func (*MongoLineParser) ParseLine ¶ func (m *MongoLineParser) ParseLine(line string) (map[string]interface{}, error) type Options ¶ type Options struct { LogPartials bool `` /* 134-byte string literal not displayed */ NumParsers int `hidden:"true" description:"number of mongo parsers to spin up"` } type Parser ¶ type Parser struct { // contains filtered or unexported fields } func (*Parser) Init ¶ func (p *Parser) Init(options interface{}) error func (*Parser) ProcessLines ¶ func (p *Parser) ProcessLines(lines <-chan string, send chan<- event.Event, prefixRegex *parsers.ExtRegexp) Source Files ¶ View all Source files mongodb.go Click to show internal directories. Click to hide internal directories.