journalctlacquisition

package
v1.2.3-freebsd Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 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) error

func (*JournalCtlSource) ConfigureByDSN

func (j *JournalCtlSource) ConfigureByDSN(dsn string, labels map[string]string, logger *log.Entry) 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) 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

Jump to

Keyboard shortcuts

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