syslog

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Syslog

type Syslog struct {
	// Name of the channel
	Name string `json:"name" yaml:"name" hcl:"name,label"`
	// Tag describe syslog tag
	Tag string `json:"tag" yaml:"tag" hcl:"tag,optional"`
	// Network value
	Network string `json:"network" yaml:"network" hcl:"network"`
	// Address value
	Address string `json:"address" yaml:"address" hcl:"address"`
	// Priority value, Severity+Facility
	Priority string `json:"priority" yaml:"priority" hcl:"priority"`
	Ignore   bool   `json:"ignore" yaml:"ignore" hcl:"ignore,optional"`
}

Syslog channel config

func (Syslog) Validate

func (cfg Syslog) Validate() error

Validate config

Jump to

Keyboard shortcuts

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