beats: github.com/elastic/beats/filebeat/autodiscover Index | Files | Directories

package autodiscover

import "github.com/elastic/beats/filebeat/autodiscover"

Index

Package Files

autodiscover.go include.go

type AutodiscoverAdapter Uses

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

AutodiscoverAdapter for Filebeat modules & input

func NewAutodiscoverAdapter Uses

func NewAutodiscoverAdapter(inputFactory, moduleFactory cfgfile.RunnerFactory) *AutodiscoverAdapter

NewAutodiscoverAdapter builds and returns an autodiscover adapter for Filebeat modules & input

func (*AutodiscoverAdapter) CheckConfig Uses

func (m *AutodiscoverAdapter) CheckConfig(c *common.Config) error

CheckConfig tests given config to check if it will work or not, returns errors in case it won't work

func (*AutodiscoverAdapter) Create Uses

func (m *AutodiscoverAdapter) Create(p beat.Pipeline, c *common.Config, meta *common.MapStrPointer) (cfgfile.Runner, error)

Create a module or input from the given config

func (*AutodiscoverAdapter) CreateConfig Uses

func (m *AutodiscoverAdapter) CreateConfig(e bus.Event) ([]*common.Config, error)

CreateConfig generates a valid list of configs from the given event, the received event will have all keys defined by `StartFilter`

func (*AutodiscoverAdapter) EventFilter Uses

func (m *AutodiscoverAdapter) EventFilter() []string

EventFilter returns the bus filter to retrieve runner start/stop triggering events

Directories

PathSynopsis
builder/hints

Package autodiscover imports 6 packages (graph) and is imported by 12 packages. Updated 2019-09-15. Refresh now. Tools for package owners.