Skip to content

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

@alespour

Description

@alespour

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").

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behaviorgood first issueThis is a smaller issue suited for getting started in Telegraf, Golang, and contributing to OSS.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions