Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeParserConfig ¶
type TimeParserConfig struct { helper.TransformerConfig `yaml:",inline"` helper.TimeParser `yaml:",omitempty,inline"` }
TimeParserConfig is the configuration of a time parser operator.
func NewTimeParserConfig ¶
func NewTimeParserConfig(operatorID string) *TimeParserConfig
NewTimeParserConfig creates a new time parser config with default values
func (TimeParserConfig) Build ¶
func (c TimeParserConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a time parser operator.
type TimeParserOperator ¶
type TimeParserOperator struct { helper.TransformerOperator helper.TimeParser }
TimeParserOperator is an operator that parses time from a field to an entry.
func (*TimeParserOperator) CanOutput ¶
func (t *TimeParserOperator) CanOutput() bool
CanOutput will always return true for a parser operator.
Click to show internal directories.
Click to hide internal directories.