rules

package
v5.0.0-alpha3+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DropEvent

type DropEvent struct {
	Cond *filter.Condition
}

func (*DropEvent) CheckConfig

func (f *DropEvent) CheckConfig(c common.Config) error

func (*DropEvent) Filter

func (f *DropEvent) Filter(event common.MapStr) (common.MapStr, error)

func (DropEvent) String

func (f DropEvent) String() string

type DropEventConfig

type DropEventConfig struct {
	filter.ConditionConfig `config:",inline"`
}

type DropFields

type DropFields struct {
	Fields []string
	// condition
	Cond *filter.Condition
}

func (*DropFields) CheckConfig

func (f *DropFields) CheckConfig(c common.Config) error

func (*DropFields) Filter

func (f *DropFields) Filter(event common.MapStr) (common.MapStr, error)

func (DropFields) String

func (f DropFields) String() string

type DropFieldsConfig

type DropFieldsConfig struct {
	Fields                 []string `config:"fields"`
	filter.ConditionConfig `config:",inline"`
}

type IncludeFields

type IncludeFields struct {
	Fields []string
	// condition
	Cond *filter.Condition
}

func (*IncludeFields) CheckConfig

func (f *IncludeFields) CheckConfig(c common.Config) error

func (*IncludeFields) Filter

func (f *IncludeFields) Filter(event common.MapStr) (common.MapStr, error)

func (IncludeFields) String

func (f IncludeFields) String() string

type IncludeFieldsConfig

type IncludeFieldsConfig struct {
	Fields                 []string `config:"fields"`
	filter.ConditionConfig `config:",inline"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL