Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterBox ¶
type FilterBox struct { Filter Filter // contains filtered or unexported fields }
func BuildFilterBoxes ¶
func NewFilterBox ¶
func NewFilterBox(config map[interface{}]interface{}) *FilterBox
func (*FilterBox) PostProcess ¶
type NilProcessorInLink ¶
type NilProcessorInLink struct{}
func (*NilProcessorInLink) Process ¶
func (n *NilProcessorInLink) Process(event map[string]interface{}) map[string]interface{}
type OutputBox ¶
type OutputBox struct { Output *condition_filter.ConditionFilter }
func BuildOutputs ¶
type OutputsProcessor ¶
type OutputsProcessor []*OutputBox
func (OutputsProcessor) Process ¶
func (p OutputsProcessor) Process(event map[string]interface{}) map[string]interface{}
Process implement Processor interface
type ProcessorNode ¶
type ProcessorNode struct { Processor Processor Next *ProcessorNode }
ProcessorNode is a node in the filter/output link
func AppendProcessorsToLink ¶
func AppendProcessorsToLink(head *ProcessorNode, processors ...Processor) *ProcessorNode
AppendProcessorsToLink add new processors to tail, return head node
func (*ProcessorNode) Process ¶
func (node *ProcessorNode) Process(event map[string]interface{}) map[string]interface{}
Processor will process event , and pass it to next, and then next , until last one(generally output)
Click to show internal directories.
Click to hide internal directories.