journalctlacquisition

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JournalCtlConfiguration

type JournalCtlConfiguration struct {
	configuration.DataSourceCommonCfg `yaml:",inline"`
	Filters                           []string `yaml:"journalctl_filter"`
}

type JournalCtlSource

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

func (*JournalCtlSource) CanRun

func (j *JournalCtlSource) CanRun() error

func (*JournalCtlSource) Configure

func (j *JournalCtlSource) Configure(yamlConfig []byte, logger *log.Entry) error

func (*JournalCtlSource) ConfigureByDSN

func (j *JournalCtlSource) ConfigureByDSN(dsn string, labels map[string]string, logger *log.Entry, uuid string) error

func (*JournalCtlSource) Dump

func (j *JournalCtlSource) Dump() interface{}

func (*JournalCtlSource) GetAggregMetrics

func (j *JournalCtlSource) GetAggregMetrics() []prometheus.Collector

func (*JournalCtlSource) GetMetrics

func (j *JournalCtlSource) GetMetrics() []prometheus.Collector

func (*JournalCtlSource) GetMode

func (j *JournalCtlSource) GetMode() string

func (*JournalCtlSource) GetName

func (j *JournalCtlSource) GetName() string

func (*JournalCtlSource) GetUuid

func (j *JournalCtlSource) GetUuid() string

func (*JournalCtlSource) OneShotAcquisition

func (j *JournalCtlSource) OneShotAcquisition(out chan types.Event, t *tomb.Tomb) error

func (*JournalCtlSource) StreamingAcquisition

func (j *JournalCtlSource) StreamingAcquisition(out chan types.Event, t *tomb.Tomb) error

func (*JournalCtlSource) UnmarshalConfig

func (j *JournalCtlSource) UnmarshalConfig(yamlConfig []byte) error

Jump to

Keyboard shortcuts

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