telegraf: Index | Files

package syslog

import ""


Package Files


type Syslog Uses

type Syslog struct {
    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"`

    // 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 3 packages. Updated 2020-02-26. Refresh now. Tools for package owners.