mongodb

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mongodb is a parser for mongodb logs

Index

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)

Jump to

Keyboard shortcuts

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