logregex

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 5 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
	// contains filtered or unexported fields
}

func (*ProcessorSplitRegex) Description

func (*ProcessorSplitRegex) Description() string

func (*ProcessorSplitRegex) Init

func (p *ProcessorSplitRegex) Init(context ilogtail.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