journalctlacquisition

package
v1.5.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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