beats

package
v0.0.0-...-e40cc08 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeatsLogsReader

func BeatsLogsReader(h *logger.Logger)

func InstallBeats

func InstallBeats(cnf configuration.Config, h *logger.Logger) error

func UninstallBeats

func UninstallBeats(h *logger.Logger) error

Types

type Beat

type Beat interface {
	Install() error
	SendSystemLogs(h *logger.Logger)
	Uninstall() error
}

type BeatConfig

type BeatConfig struct {
	LogsPath    string
	LogFileName string
}

type Filebeat

type Filebeat struct{}

func (Filebeat) Install

func (f Filebeat) Install() error

func (Filebeat) SendSystemLogs

func (f Filebeat) SendSystemLogs(h *logger.Logger)

func (Filebeat) Uninstall

func (f Filebeat) Uninstall() error

type Winlogbeat

type Winlogbeat struct{}

func (Winlogbeat) Install

func (w Winlogbeat) Install() error

func (Winlogbeat) SendSystemLogs

func (w Winlogbeat) SendSystemLogs(h *logger.Logger)

func (Winlogbeat) Uninstall

func (w Winlogbeat) Uninstall() error

Jump to

Keyboard shortcuts

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