logstash

package
v0.0.0-...-558f87b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILEBEAT_CONFIG_FILENAME string = "filebeat.yml"
)
View Source
const (
	FILTERS_TEMPLATE string = "filters_template"
)

Variables

This section is empty.

Functions

func GetCert

func GetCert() ([]byte, error)

func GetFilebeatConfig

func GetFilebeatConfig() ([]byte, error)

func ReadAuthfile

func ReadAuthfile() (string, string, error)

Types

type Filter

type Filter struct {
	Cond string
	Mut  []*FilterMutate
}

func NewFilter

func NewFilter(cond string) *Filter

func (*Filter) Condition

func (f *Filter) Condition(cond string) *Filter

func (*Filter) Mutate

func (f *Filter) Mutate(m *FilterMutate) *Filter

type FilterMutate

type FilterMutate struct {
	AddField map[string]string
}

func NewMutate

func NewMutate(assocs ...string) *FilterMutate

type TagsFilters

type TagsFilters struct {
	Filters []*Filter
}

func NewTagFilters

func NewTagFilters() *TagsFilters

func (*TagsFilters) AddFilter

func (tf *TagsFilters) AddFilter(f *Filter)

func (*TagsFilters) Marshal

func (tf *TagsFilters) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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