Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Convert ¶
type Convert struct {
formatters.EventProcessor
Values []string `mapstructure:"value-names,omitempty" json:"value-names,omitempty"`
Type string `mapstructure:"type,omitempty" json:"type,omitempty"`
Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"`
// contains filtered or unexported fields
}
Convert converts the value with key matching one of regexes, to the specified Type
func (*Convert) Apply ¶
func (c *Convert) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
func (*Convert) WithLogger ¶ added in v0.9.1
Click to show internal directories.
Click to hide internal directories.