Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTag ¶
type AddTag struct { formatters.EventProcessor Condition string `mapstructure:"condition,omitempty"` Tags []string `mapstructure:"tags,omitempty" json:"tags,omitempty"` Values []string `mapstructure:"values,omitempty" json:"values,omitempty"` TagNames []string `mapstructure:"tag-names,omitempty" json:"tag-names,omitempty"` ValueNames []string `mapstructure:"value-names,omitempty" json:"value-names,omitempty"` Overwrite bool `mapstructure:"overwrite,omitempty" json:"overwrite,omitempty"` Add map[string]string `mapstructure:"add,omitempty" json:"add,omitempty"` Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"` // contains filtered or unexported fields }
AddTag adds a set of tags to the event message if tag
func (*AddTag) Apply ¶
func (p *AddTag) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
func (*AddTag) WithLogger ¶ added in v0.9.1
Click to show internal directories.
Click to hide internal directories.