journalctlacquisition

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 15 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, MetricsLevel int) 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 added in v1.5.0

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 added in v1.5.0

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