filebeat

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BeatSystem  bool          `toml:"beat_system"`
	BeatTimeout time.Duration `toml:"beat_timeout"`
}

type Filebeat

type Filebeat struct {
}

func (*Filebeat) ParseConfig

func (f *Filebeat) ParseConfig(baseDir string, bs []byte) (any, error)

func (*Filebeat) Scrape

func (f *Filebeat) Scrape(ctx context.Context, target string, cfg any, ss *types.Samples) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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