logregex

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessorSplitRegex

type ProcessorSplitRegex struct {
	SplitKey              string
	SplitRegex            string
	PreserveOthers        bool
	NoKeyError            bool
	EnableLogPositionMeta bool
	// contains filtered or unexported fields
}

func (*ProcessorSplitRegex) Description

func (*ProcessorSplitRegex) Description() string

func (*ProcessorSplitRegex) Init

func (p *ProcessorSplitRegex) Init(context pipeline.Context) error

Init called for init some system resources, like socket, mutex...

func (*ProcessorSplitRegex) ProcessLogs

func (p *ProcessorSplitRegex) ProcessLogs(logArray []*protocol.Log) []*protocol.Log

func (*ProcessorSplitRegex) SplitLog

func (p *ProcessorSplitRegex) SplitLog(logArray []*protocol.Log, rawLog *protocol.Log, cont *protocol.Log_Content) []*protocol.Log

Jump to

Keyboard shortcuts

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