forked from influxdata/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow a user defined field to be used as the graylog short_message (i…
- Loading branch information
1 parent
83f2178
commit a2c68b2
Showing
2 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# Graylog Output Plugin | ||
|
||
This plugin writes to a Graylog instance using the "gelf" format. | ||
This plugin writes to a Graylog instance using the "[GELF][]" format. | ||
|
||
It requires a `servers` name. | ||
[GELF]: https://docs.graylog.org/en/3.1/pages/gelf.html#gelf-payload-specification | ||
|
||
### Configuration: | ||
|
||
```toml | ||
# Send telegraf metrics to graylog(s) | ||
[[outputs.graylog]] | ||
## UDP endpoint for your graylog instance(s). | ||
servers = ["127.0.0.1:12201", "192.168.1.1:12201"] | ||
## 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 = "" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters