elastic

package
v1.29.8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func NewActivityProcessor

func NewActivityProcessor(c *config.Config) (pipeline.Processor, error)

Types

type ActivityProcessor

type ActivityProcessor struct {
	// contains filtered or unexported fields
}

func (*ActivityProcessor) HandleActivity

func (processor *ActivityProcessor) HandleActivity(activityByte []byte) error

func (*ActivityProcessor) Name

func (processor *ActivityProcessor) Name() string

func (*ActivityProcessor) Process

func (processor *ActivityProcessor) Process(ctx *pipeline.Context) error

type Config

type Config struct {
	MessageField  param.ParaKey `config:"message_field"`
	Elasticsearch string        `config:"elasticsearch,omitempty"`
}

type MetadataProcessor

type MetadataProcessor struct {
	// contains filtered or unexported fields
}

func (*MetadataProcessor) HandleIndexHealthChange

func (processor *MetadataProcessor) HandleIndexHealthChange(ev *event.Event) error

func (*MetadataProcessor) HandleIndexStateChange

func (processor *MetadataProcessor) HandleIndexStateChange(indexState []byte) error

func (*MetadataProcessor) HandleUnknownNodeStatus

func (processor *MetadataProcessor) HandleUnknownNodeStatus(ev []byte) error

func (*MetadataProcessor) Name

func (processor *MetadataProcessor) Name() string

func (*MetadataProcessor) Process

func (processor *MetadataProcessor) Process(ctx *pipeline.Context) error

Jump to

Keyboard shortcuts

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