Documentation ¶
Index ¶
- type MsgPack
- type StreamAggregatorBatch
- type StreamAggregatorFilter
- func (f *StreamAggregatorFilter) CleanUp()
- func (f *StreamAggregatorFilter) ConfigStruct() interface{}
- func (f *StreamAggregatorFilter) Init(config interface{}) (err error)
- func (f *StreamAggregatorFilter) Prepare(fr FilterRunner, h PluginHelper) error
- func (f *StreamAggregatorFilter) ProcessMessage(pack *PipelinePack) error
- type StreamAggregatorFilterConfig
- type StreamSplitterDecoder
- type StreamSplitterDecoderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamAggregatorBatch ¶
type StreamAggregatorBatch struct {
// contains filtered or unexported fields
}
type StreamAggregatorFilter ¶
type StreamAggregatorFilter struct { *StreamAggregatorFilterConfig // contains filtered or unexported fields }
func (*StreamAggregatorFilter) CleanUp ¶
func (f *StreamAggregatorFilter) CleanUp()
func (*StreamAggregatorFilter) ConfigStruct ¶
func (f *StreamAggregatorFilter) ConfigStruct() interface{}
func (*StreamAggregatorFilter) Init ¶
func (f *StreamAggregatorFilter) Init(config interface{}) (err error)
func (*StreamAggregatorFilter) Prepare ¶
func (f *StreamAggregatorFilter) Prepare(fr FilterRunner, h PluginHelper) error
func (*StreamAggregatorFilter) ProcessMessage ¶
func (f *StreamAggregatorFilter) ProcessMessage(pack *PipelinePack) error
type StreamAggregatorFilterConfig ¶
type StreamAggregatorFilterConfig struct { Delimiter string `toml:"delimiter"` // Delimiter used to append to end of each protobuf for splitting on when decoding later. // Defaults to '\n' FlushInterval uint32 `toml:"flush_interval"` FlushBytes int `toml:"flush_bytes"` // Number of messages that triggers a flush // (default to 10) FlushCount int `toml:"flush_count"` StreamAggregatorTag string `toml:"stream_aggregator_tag"` EncoderName string `toml:"encoder"` UseBuffering bool `toml:"use_buffering"` }
type StreamSplitterDecoder ¶
type StreamSplitterDecoder struct { *StreamSplitterDecoderConfig // contains filtered or unexported fields }
func (*StreamSplitterDecoder) ConfigStruct ¶
func (ld *StreamSplitterDecoder) ConfigStruct() interface{}
func (*StreamSplitterDecoder) Decode ¶
func (ld *StreamSplitterDecoder) Decode(pack *PipelinePack) (packs []*PipelinePack, err error)
Runs the message payload against decoder's map of JSONPaths. If there's a match, the message will be populated based on the decoder's message template, with capture values interpolated into the message template values.
func (*StreamSplitterDecoder) Init ¶
func (ld *StreamSplitterDecoder) Init(config interface{}) (err error)
func (*StreamSplitterDecoder) SetDecoderRunner ¶
func (ld *StreamSplitterDecoder) SetDecoderRunner(dr DecoderRunner)
Heka will call this to give us access to the runner.
type StreamSplitterDecoderConfig ¶
type StreamSplitterDecoderConfig struct { // Keyed to the message field that should be filled in, the value will be // interpolated so it can use capture parts from the message match. Delimiter string `toml:"delimiter"` // Delimiter used to append to end of each protobuf for splitting on when decoding later. }
Click to show internal directories.
Click to hide internal directories.