Skip to content

fix config issue with tags#8419

Merged
ssoroka merged 1 commit intomasterfrom
tagfix
Nov 16, 2020
Merged

fix config issue with tags#8419
ssoroka merged 1 commit intomasterfrom
tagfix

Conversation

@ssoroka
Copy link
Copy Markdown
Contributor

@ssoroka ssoroka commented Nov 16, 2020

resolves #8417

@ssoroka ssoroka merged commit 6b3f653 into master Nov 16, 2020
@ssoroka ssoroka deleted the tagfix branch November 16, 2020 21:57
@Quinteger
Copy link
Copy Markdown

Hey, was this commit included into the 1.17 release?
Still getting the same issue while trying to configure Jolokia2 agent.

@prajsree
Copy link
Copy Markdown

Hi,

should we include "tag_rename" also to the ignore list ?.

The below configuration was giving an error for me.

[[processors.regex]]
  [[processors.regex.tag_rename]]
    pattern = "^tags_(.*)$"
    replacement = "${1}"
2021-12-13T19:25:49Z E! [telegraf] Error running agent: Error loading config file conf/telegraf_inbuilt.conf: plugin processors.regex: line 58: configuration specified the fields ["tag_rename"], but they weren't used

Adding the tag_rename to the ignore list in missingTomlField seems to be solving this error

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error - configuration specified the fields ["__something__"], but they weren't used

3 participants