Documentation ¶
Overview ¶
Code generated by processor/generate.go - DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // The origin field which will be copied to target_field. CopyFrom string `config:"copy_from"` // Ignore failures for the processor. IgnoreFailure bool `config:"ignore_failure"` // If true and field does not exist or is null, the processor quietly // returns without modifying the document. IgnoreMissing bool `config:"ignore_missing"` // The field to assign the output value to, by default field is updated // in-place. TargetField string `config:"target_field"` // The value to be set for the field. Value config.EventValue `config:"value"` }
Config contains the configuration options for the set processor.
func (*Config) InitDefaults ¶
func (c *Config) InitDefaults()
InitDefaults initializes the configuration options to their default values.
Click to show internal directories.
Click to hide internal directories.