delete

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

Delete Processor Plugin

The delete processor deletes events labels and fields.

Configuration

[[processors]]
  [processors.delete]

    # list of labels to delete
    labels = [ "sender", "exchange" ]

    # list of fields to delete
    fields = [ "log.source", "fqdn" ]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delete

type Delete struct {
	*core.BaseProcessor `mapstructure:"-"`
	Labels              []string `mapstructure:"labels"`
	Fields              []string `mapstructure:"fields"`
}

func (*Delete) Close

func (p *Delete) Close() error

func (*Delete) Init

func (p *Delete) Init() error

func (*Delete) Run

func (p *Delete) Run()

Jump to

Keyboard shortcuts

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