severity

package
v0.13.11 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SeverityParserConfig

type SeverityParserConfig struct {
	helper.TransformerConfig    `yaml:",inline"`
	helper.SeverityParserConfig `yaml:",omitempty,inline"`
}

SeverityParserConfig is the configuration of a severity parser operator.

func NewSeverityParserConfig

func NewSeverityParserConfig(operatorID string) *SeverityParserConfig

NewSeverityParserConfig creates a new severity parser config with default values

func (SeverityParserConfig) Build

Build will build a time parser operator.

type SeverityParserOperator

type SeverityParserOperator struct {
	helper.TransformerOperator
	helper.SeverityParser
}

SeverityParserOperator is an operator that parses time from a field to an entry.

func (*SeverityParserOperator) Process

func (p *SeverityParserOperator) Process(ctx context.Context, entry *entry.Entry) error

Process will parse time from an entry.

Jump to

Keyboard shortcuts

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