processors

package
v1.40.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 2 Imported by: 33 modules, 152 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deprecations = make(map[string]telegraf.DeprecationInfo)

Deprecations lists the deprecated plugins

View Source
var Processors = make(map[string]StreamingCreator)

Processors is a map of processor names to their respective creator functions. All processors are streaming processors. telegraf.Processor processors are upgraded to telegraf.StreamingProcessor.

Functions

func Add

func Add(name string, creator Creator)

Add adds a telegraf.Processor processor

func AddStreaming added in v1.15.0

func AddStreaming(name string, creator StreamingCreator)

AddStreaming adds a telegraf.StreamingProcessor streaming processor

func NewStreamingProcessorFromProcessor added in v1.15.0

func NewStreamingProcessorFromProcessor(p telegraf.Processor) telegraf.StreamingProcessor

NewStreamingProcessorFromProcessor is a converter that turns a standard processor into a streaming processor.

Types

type Creator

type Creator func() telegraf.Processor

Creator is a function that returns a new instance of a telegraf.Processor.

type HasUnwrap added in v1.27.0

type HasUnwrap interface {
	// Unwrap returns the underlying telegraf.Processor.
	Unwrap() telegraf.Processor
}

HasUnwrap indicates the presence of an Unwrap() function to retrieve the underlying telegraf.Processor.

type StreamingCreator added in v1.15.0

type StreamingCreator func() telegraf.StreamingProcessor

StreamingCreator is a function that returns a new instance of a telegraf.StreamingProcessor.

Jump to

Keyboard shortcuts

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