elasticsearch

package
v0.0.0-...-fb5a1ab Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(id string, o obs.OutputSpec, inputs []string, secrets observability.Secrets, strategy common.ConfigStrategy, op Options) []Element

Types

type BearerToken

type BearerToken struct {
	ID    string
	Token string
}

func NewBearerToken

func NewBearerToken(id string, spec *obs.HTTPAuthentication, secrets observability.Secrets, op framework.Options) BearerToken

func (BearerToken) Name

func (bt BearerToken) Name() string

func (BearerToken) Template

func (bt BearerToken) Template() string

type Elasticsearch

type Elasticsearch struct {
	IDKey       genhelper.OptionalPair
	Desc        string
	ComponentID string
	Inputs      string
	Index       string
	Endpoint    string
	Version     int
	common.RootMixin
}

func Output

func Output(id string, o obs.OutputSpec, inputs []string, index string, secrets observability.Secrets, op Options) *Elasticsearch

func (Elasticsearch) Name

func (e Elasticsearch) Name() string

func (*Elasticsearch) SetCompression

func (e *Elasticsearch) SetCompression(algo string)

func (Elasticsearch) Template

func (e Elasticsearch) Template() string

Jump to

Keyboard shortcuts

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