elasticsearch

package
v4.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ESOFieldAWSEnabled = "enabled"
)

Variables

View Source
var AWSOptFn = notImportedAWSOptFn

AWSOptFn is populated with the child `aws` package when imported.

Functions

func AWSField added in v4.19.0

func AWSField() *service.ConfigField

AWSField represents the aws block within an elasticsearch field. This is exported in order to make unit testing easier within the aws subpackage.

func OutputSpec added in v4.19.0

func OutputSpec() *service.ConfigSpec

OutputSpec returns the config spec for an elasticsearch output writer.

Types

type Output added in v4.19.0

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

Output implements service.BatchOutput for elasticsearch.

func OutputFromParsed added in v4.19.0

func OutputFromParsed(pConf *service.ParsedConfig, mgr *service.Resources) (*Output, error)

OutputFromParsed returns an elasticsearch output writer from a parsed config.

func (*Output) Close added in v4.19.0

func (e *Output) Close(context.Context) error

func (*Output) Connect added in v4.19.0

func (e *Output) Connect(ctx context.Context) error

func (*Output) WriteBatch added in v4.19.0

func (e *Output) WriteBatch(ctx context.Context, msg service.MessageBatch) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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