arangodb

package
v0.0.0-...-b962a07 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package arangodb is a parser for ArangoDB logs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArangoLineParser

type ArangoLineParser struct {
}

ArangoLineParser is a LineParser for ArangoDB log files.

func (*ArangoLineParser) ParseLine

func (m *ArangoLineParser) ParseLine(line string) (_ map[string]interface{}, err error)

ParseLine method for an ArangoLineParser implementing LineParser.

type Options

type Options struct {
}

Options type for line parser, so far there are none.

type Parser

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

Parser for log lines.

func (*Parser) Init

func (p *Parser) Init(options interface{}) error

Init method for parser object.

func (*Parser) ProcessLines

func (p *Parser) ProcessLines(lines <-chan string, send chan<- event.Event, prefixRegex *parsers.ExtRegexp)

ProcessLines method for Parser.

Jump to

Keyboard shortcuts

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