Documentation ¶
Index ¶
Constants ¶
View Source
const ( PluginName = "processor_string_replace" MethodRegex = "regex" MethodConst = "const" MethodUnquote = "unquote" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessorStringReplace ¶
type ProcessorStringReplace struct { SourceKey string Method string Match string ReplaceString string DestKey string // contains filtered or unexported fields }
func (*ProcessorStringReplace) Description ¶
func (*ProcessorStringReplace) Description() string
func (*ProcessorStringReplace) Init ¶
func (p *ProcessorStringReplace) Init(context pipeline.Context) error
Init called for init some system resources, like socket, mutex...
func (*ProcessorStringReplace) ProcessLogs ¶
func (p *ProcessorStringReplace) ProcessLogs(logArray []*protocol.Log) []*protocol.Log
Click to show internal directories.
Click to hide internal directories.