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

Favor tags specified in config over those generated by input. #3362

Closed
danielnelson opened this issue Oct 19, 2017 · 0 comments
Closed

Favor tags specified in config over those generated by input. #3362

danielnelson opened this issue Oct 19, 2017 · 0 comments
Labels
breaking change Improvement to Telegraf that requires changes to the plugin or agent; for minor/major releases rfc Request for comment - larger issues that require clarification

Comments

@danielnelson
Copy link
Contributor

danielnelson commented Oct 19, 2017

Feature Request

Proposal:

Change the order of precedence when applying tags.

Current behavior:

Tags generated by a input plugin are favored over tags specified in the configuration of the plugin via the tags subtable, which are in turn favored over tags in the global tags section.

Desired behavior:

Change the precedence to be (highest to lowest):

  1. tags subtable
  2. global tags
  3. tags generated by plugin

Use case: [Why is this important (helps with prioritizing requests)]

This would allow overriding a tag generated by the plugin.

Override path tag in logparser input #3341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Improvement to Telegraf that requires changes to the plugin or agent; for minor/major releases rfc Request for comment - larger issues that require clarification
Projects
None yet
Development

No branches or pull requests

2 participants