Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a user defined field to be used as the graylog short_message #6700

Merged
merged 1 commit into from
Jan 21, 2020

Conversation

danielnelson
Copy link
Contributor

@danielnelson danielnelson commented Nov 21, 2019

closes #6683

[[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 = ""

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Nov 21, 2019
@danielnelson danielnelson added this to the 1.13.0 milestone Nov 21, 2019
@danielnelson
Copy link
Contributor Author

@dutchman80 Would you be able to test out this change for me? Here are some links to the most popular builds, let me know if you need a different one:

@dutchman80
Copy link

dutchman80 commented Dec 4, 2019

working great on CentOS 7!

@danielnelson danielnelson added this to the 1.14.0 milestone Jan 21, 2020
@danielnelson danielnelson merged commit c6f8b27 into master Jan 21, 2020
@danielnelson danielnelson deleted the graylog-short-message branch January 21, 2020 18:49
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

short_message field in graylog output hard set to "telegraf"
2 participants