Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessorGotime ¶
type ProcessorGotime struct {
SourceKey string
SourceFormat string
SourceLocation int // 为空表示本机时区
DestKey string // 目标Key,为空不生效
DestFormat string
DestLocation int // 为空表示本机时区
SetTime bool // 是否设置到时间字段,默认为true
KeepSource bool // 是否保留源字段
NoKeyError bool
AlarmIfFail bool
// contains filtered or unexported fields
}
func (*ProcessorGotime) Description ¶
func (*ProcessorGotime) Description() string
func (*ProcessorGotime) Init ¶
func (p *ProcessorGotime) Init(context ilogtail.Context) error
Init called for init some system resources, like socket, mutex...
func (*ProcessorGotime) ProcessLogs ¶
func (p *ProcessorGotime) ProcessLogs(logs []*protocol.Log) []*protocol.Log
Click to show internal directories.
Click to hide internal directories.