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

Graylog output plugin: non-standard fields should be prefixed #9773

Closed
alespour opened this issue Sep 17, 2021 · 2 comments · Fixed by #9862
Closed

Graylog output plugin: non-standard fields should be prefixed #9773

alespour opened this issue Sep 17, 2021 · 2 comments · Fixed by #9862
Labels
bug unexpected problem or unintended behavior good first issue This is a smaller issue suited for getting started in Telegraf, Golang, and contributing to OSS.

Comments

@alespour
Copy link
Contributor

alespour commented Sep 17, 2021

Relevant telegraf.conf:

[[outputs.graylog]]
  ## UDP endpoint for your graylog instances.
  servers = ["127.0.0.1:12201"]

Expected behavior:

Input plugin name field (e.g. "name":"log_tail") should be sent with _ prefix. Regarding Gelf specification (https://docs.graylog.org/en/4.1/pages/gelf.html#gelf-payload-specification), all non standard fields should always be prefexed with _.

Actual behavior:

Input plugin name field (e.g. "name":"log_tail") are not sent with "_" prefix.

Additional info:

Mentioned in #9644 (as "not so important issue").

@alespour alespour added the bug unexpected problem or unintended behavior label Sep 17, 2021
@popey popey added the good first issue This is a smaller issue suited for getting started in Telegraf, Golang, and contributing to OSS. label Sep 20, 2021
@popey
Copy link
Contributor

popey commented Sep 20, 2021

Thanks for reporting the issue. Is that really all that's needed configuration-wise to reproduce this issue? Are there any other plugins or options which need configuring to get this problem occurring?

@alespour
Copy link
Contributor Author

alespour commented Sep 20, 2021

Sorry, I have updated the config section. Based on customer comment #9644 (comment), it's really just the graylog plugin, nothing else needs to be configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior good first issue This is a smaller issue suited for getting started in Telegraf, Golang, and contributing to OSS.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants