telegraf: github.com/influxdata/telegraf/plugins/inputs/syslog Index | Files

package syslog

import "github.com/influxdata/telegraf/plugins/inputs/syslog"

Index

Package Files

syslog.go

type Syslog Uses

type Syslog struct {
    tlsConfig.ServerConfig
    Address         string `toml:"server"`
    KeepAlivePeriod *internal.Duration
    MaxConnections  int
    ReadTimeout     *internal.Duration
    Framing         framing.Framing
    Trailer         nontransparent.TrailerType
    BestEffort      bool
    Separator       string `toml:"sdparam_separator"`

    io.Closer
    // contains filtered or unexported fields
}

Syslog is a syslog plugin

func (*Syslog) Description Uses

func (s *Syslog) Description() string

Description returns the plugin description

func (*Syslog) Gather Uses

func (s *Syslog) Gather(_ telegraf.Accumulator) error

Gather ...

func (*Syslog) SampleConfig Uses

func (s *Syslog) SampleConfig() string

SampleConfig returns sample configuration message

func (*Syslog) Start Uses

func (s *Syslog) Start(acc telegraf.Accumulator) error

Start starts the service.

func (*Syslog) Stop Uses

func (s *Syslog) Stop()

Stop cleans up all resources

Package syslog imports 19 packages (graph) and is imported by 2 packages. Updated 2019-08-31. Refresh now. Tools for package owners.