Documentation ¶
Index ¶
- Variables
- type Config
- type Filter
- func (f *Filter) Config() interface{}
- func (f *Filter) EventErrorCount() int
- func (f *Filter) EventErrorVelocity() int
- func (f *Filter) EventFilterCount() int
- func (f *Filter) EventFilterVelocity() int
- func (f *Filter) EventSuccessCount() int
- func (f *Filter) EventSuccessVelocity() int
- func (f *Filter) EventTs() int64
- func (f *Filter) Filter(evt event.Event) []event.Event
- func (f *Filter) Hash() string
- func (f *Filter) Name() string
- func (f *Filter) Plugin() string
- func (f *Filter) Tenant() tenant.Id
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Path: "",
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Path string `json:"path,omitempty"`
}
func (Config) WithDefaults ¶
type Filter ¶
func NewFilter ¶
func NewFilter(tid tenant.Id, plugin string, name string, config interface{}, secrets secret.Vault, tableSyncer syncer.DeltaSyncer) (*Filter, error)
a SplitFilter splits and event into two or more events
func (*Filter) EventErrorCount ¶ added in v1.1.2
func (*Filter) EventErrorVelocity ¶ added in v1.1.2
func (*Filter) EventFilterCount ¶ added in v1.1.2
func (*Filter) EventFilterVelocity ¶ added in v1.1.2
func (*Filter) EventSuccessCount ¶ added in v1.1.2
func (*Filter) EventSuccessVelocity ¶ added in v1.1.2
Click to show internal directories.
Click to hide internal directories.