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

filter processor has error in the sample configuration #16433

Open
ceri opened this issue Jan 26, 2025 · 0 comments · May be fixed by #16434
Open

filter processor has error in the sample configuration #16433

ceri opened this issue Jan 26, 2025 · 0 comments · May be fixed by #16434
Labels
bug unexpected problem or unintended behavior

Comments

@ceri
Copy link

ceri commented Jan 26, 2025

Relevant telegraf.conf

# currently suggested at bottom of https://github.com/influxdata/telegraf/tree/master/plugins/processors/filter

[[processors.filter]]
  namepass = ["machine"]

  [[processors.filter.rule]]
    tags = {"status" = "OK"}

Logs from Telegraf

2025-01-26T18:48:27Z E! loading config file /usr/local/etc/telegraf.conf failed: error parsing filter, unmarshalling failed: line 73: cannot unmarshal TOML string into []string

System info

Telegraf 1.33, FreeBSD 15-CURRENT

Docker

No response

Steps to reproduce

  1. Read the configuration at https://github.com/influxdata/telegraf/tree/master/plugins/processors/filter
  2. Try to use it

Expected behavior

It works

Actual behavior

It throws the error

Additional info

No response

@ceri ceri added the bug unexpected problem or unintended behavior label Jan 26, 2025
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant