fluent

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(bs json.RawMessage) (types.OutputPlugin, error)

Types

type Fluent

type Fluent struct {
	plugin.PluginCommon
	*output.DnstapOutput

	// fluent server config
	// see https://pkg.go.dev/github.com/fluent/fluent-logger-golang/fluent#Config
	FluentConfig fluent.Config
	// fluent tag value
	Tag string
	// contains filtered or unexported fields
}

The fluent plugin outputs messages to the fluent server.

func (*Fluent) Close

func (o *Fluent) Close()

func (*Fluent) Open

func (o *Fluent) Open() error

func (*Fluent) SetOutputContext

func (f *Fluent) SetOutputContext(oc *types.OutputContext)

func (*Fluent) Write

func (o *Fluent) Write(dm *types.DnstapMessage) error

Jump to

Keyboard shortcuts

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