logstash

package
v0.0.0-...-79153e9 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(addr string) (slf.Receiver, error)

New builds and returns new logstash events receiver

func NewFiltered

func NewFiltered(c Config) (slf.Receiver, error)

NewFiltered return new logstash events receiver with minimum log level configured

Types

type Config

type Config struct {
	Address         string   `json:"address" yaml:"address"`
	MinLevel        string   `json:"level" yaml:"level"`
	ParamsWhiteList []string `json:"paramsWhiteList" yaml:"paramsWhiteList"`
	ParamsBlackList []string `json:"paramsBlackList" yaml:"paramsBlackList"`
}

Config holds information for filtered receiver

Jump to

Keyboard shortcuts

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