2016-05-31 15:41:27 +00:00
|
|
|
# Graylog Output Plugin
|
|
|
|
|
2020-01-21 18:49:01 +00:00
|
|
|
This plugin writes to a Graylog instance using the "[GELF][]" format.
|
2016-05-31 15:41:27 +00:00
|
|
|
|
2020-01-21 18:49:01 +00:00
|
|
|
[GELF]: https://docs.graylog.org/en/3.1/pages/gelf.html#gelf-payload-specification
|
2016-05-31 15:42:07 +00:00
|
|
|
|
|
|
|
### Configuration:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[[outputs.graylog]]
|
2020-01-21 18:49:01 +00:00
|
|
|
## 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 = ""
|
2016-05-31 15:42:07 +00:00
|
|
|
```
|