logcollector

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package logcollector uses podman to deploy logstash and filebeat containers in order to collect logs centrally for debugging purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfoFields

func InfoFields() (string, map[string]struct{})

InfoFields are the fields that are allowed in the info map under the prefix "logcollect.".

func NewStartTrigger

func NewStartTrigger(ctx context.Context, wg *sync.WaitGroup, provider cloudprovider.Provider,
	metadata providerMetadata, logger *logger.Logger,
) func(*info.Map)

NewStartTrigger returns a trigger func can be registered with an infos instance. The trigger is called when infos changes to received state and starts a log collection pod with filebeat and logstash in case the flags are set.

This requires podman to be installed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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