README
¶
Graylog Output Plugin
This plugin writes to a Graylog instance using the "GELF" format.
Configuration:
[[outputs.graylog]]
## UDP endpoint for your graylog instances.
servers = ["127.0.0.1:12201"]
## The field to use as the GELF short_message, if unset the static string
## "telegraf" will be used.
## example: short_message_field = "message"
# short_message_field = ""
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gelf ¶
type Gelf struct {
GelfConfig
}
func NewGelfWriter ¶
func NewGelfWriter(config GelfConfig) *Gelf
type GelfConfig ¶
type Graylog ¶
type Graylog struct { Servers []string `toml:"servers"` ShortMessageField string `toml:"short_message_field"` // contains filtered or unexported fields }
func (*Graylog) Description ¶
func (*Graylog) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.