grok

package
v0.0.0-...-c6d3e3d Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INT               = "int"
	TAG               = "tag"
	FLOAT             = "float"
	STRING            = "string"
	DURATION          = "duration"
	DROP              = "drop"
	EPOCH             = "EPOCH"
	EPOCH_NANO        = "EPOCH_NANO"
	GENERIC_TIMESTAMP = "GENERIC_TIMESTAMP"
)
View Source
const DEFAULT_PATTERNS = `` /* 3930-byte string literal not displayed */

THIS SHOULD BE KEPT IN-SYNC WITH patterns/influx-patterns

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Patterns []string

	CustomPatterns     string
	CustomPatternFiles []string
	Measurement        string
	// contains filtered or unexported fields
}

func (*Parser) Compile

func (p *Parser) Compile() error

func (*Parser) ParseLine

func (p *Parser) ParseLine(line string) (telegraf.Metric, error)

Jump to

Keyboard shortcuts

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