syslogacquisition

package
v1.3.3-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 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 SyslogConfiguration

type SyslogConfiguration struct {
	Proto                             string `yaml:"protocol,omitempty"`
	Port                              int    `yaml:"listen_port,omitempty"`
	Addr                              string `yaml:"listen_addr,omitempty"`
	MaxMessageLen                     int    `yaml:"max_message_len,omitempty"`
	configuration.DataSourceCommonCfg `yaml:",inline"`
}

type SyslogSource

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

func (*SyslogSource) CanRun

func (s *SyslogSource) CanRun() error

func (*SyslogSource) Configure

func (s *SyslogSource) Configure(yamlConfig []byte, logger *log.Entry) error

func (*SyslogSource) ConfigureByDSN

func (s *SyslogSource) ConfigureByDSN(dsn string, labels map[string]string, logger *log.Entry) error

func (*SyslogSource) Dump

func (s *SyslogSource) Dump() interface{}

func (*SyslogSource) GetAggregMetrics

func (s *SyslogSource) GetAggregMetrics() []prometheus.Collector

func (*SyslogSource) GetMetrics

func (s *SyslogSource) GetMetrics() []prometheus.Collector

func (*SyslogSource) GetMode

func (s *SyslogSource) GetMode() string

func (*SyslogSource) GetName

func (s *SyslogSource) GetName() string

func (*SyslogSource) OneShotAcquisition

func (s *SyslogSource) OneShotAcquisition(out chan types.Event, t *tomb.Tomb) error

func (*SyslogSource) StreamingAcquisition

func (s *SyslogSource) StreamingAcquisition(out chan types.Event, t *tomb.Tomb) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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