split

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Filter-plug: split split is just for split and count.

Index

Constants

View Source
const (
	ModuleName = "split"
)

Variables

This section is empty.

Functions

func InitHandler

func InitHandler(confraw *utils.ConfigRaw) (tfc utils.TypeFilterConfig, err error)

Init split Handler.

Types

type FilterConfig

type FilterConfig struct {
	utils.FilterConfig
	Separator string `json:"separator"`
}

Define split' config.

func (*FilterConfig) Event

func (fc *FilterConfig) Event(event utils.LogEvent) utils.LogEvent

Filter's event,and this is the main function of filter.

Jump to

Keyboard shortcuts

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