Documentation ¶
Index ¶
- type Merge
- func (p *Merge) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
- func (p *Merge) Init(cfg interface{}, opts ...formatters.Option) error
- func (p *Merge) WithActions(act map[string]map[string]interface{})
- func (p *Merge) WithLogger(l *log.Logger)
- func (p *Merge) WithTargets(tcs map[string]*types.TargetConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Merge ¶
type Merge struct { Always bool `mapstructure:"always,omitempty" json:"always,omitempty"` Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"` // contains filtered or unexported fields }
Merge merges a list of event messages into one or multiple messages based on some criteria
func (*Merge) Apply ¶
func (p *Merge) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
func (*Merge) WithActions ¶
func (*Merge) WithLogger ¶
func (*Merge) WithTargets ¶
func (p *Merge) WithTargets(tcs map[string]*types.TargetConfig)
Click to show internal directories.
Click to hide internal directories.