stdout

package
v0.0.0-...-bf621fb Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "remove_field"

Variables

This section is empty.

Functions

func New

func New(cfg *config.ConfigRaw, common *config.Common) (filter.Filter, error)

Types

type Config

type Config struct {
	filter.Config

	Fields []string `hcl:"fields" yaml:"fields" json:"fields"`
}

type RemoveField

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

RemoveField is filter for append fields.

Support template: like "%{host} %{timestamp}""

func (*RemoveField) Name

func (fi *RemoveField) Name() string

func (*RemoveField) Start

func (fi *RemoveField) Start(inChan <-chan *event.Event, outChan chan<- *event.Event) error

Jump to

Keyboard shortcuts

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