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

Fix plugin filters when using telegraf config #10888

Closed
sspaink opened this issue Mar 24, 2022 · 1 comment · Fixed by #11282
Closed

Fix plugin filters when using telegraf config #10888

sspaink opened this issue Mar 24, 2022 · 1 comment · Fixed by #11282
Labels
bug unexpected problem or unintended behavior help wanted Request for community participation, code, contribution

Comments

@sspaink
Copy link
Contributor

sspaink commented Mar 24, 2022

The following command currently doesn't work:
telegraf config --input-filter cpu --output-filter influxdb

Instead you have to use telegraf --input-filter cpu --output-filter influxdb config

Telegraf should be updated to have the command be at the beginning

--sample-config should probably be deprecated as well in favor of config

Related to: #10831

Steps to reproduce

Run telegraf config --input-filter cpu --output-filter influxdb
Nothing gets filtered

Expected behavior

Plugins get filtered

Actual behavior

Plugins aren't filtered

@sspaink sspaink added the bug unexpected problem or unintended behavior label Mar 24, 2022
@powersj powersj added the help wanted Request for community participation, code, contribution label May 16, 2022
@powersj
Copy link
Contributor

powersj commented May 16, 2022

next steps: look into what change may have caused this, as it was previously working

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 help wanted Request for community participation, code, contribution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants