-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix plugin filters when using telegraf config #10888
Copy link
Copy link
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorhelp wantedRequest for community participation, code, contributionRequest for community participation, code, contribution
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorhelp wantedRequest for community participation, code, contributionRequest for community participation, code, contribution