Fix plugin filters when using telegraf config
#10888
Labels
bug
unexpected problem or unintended behavior
help wanted
Request for community participation, code, contribution
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 configRelated 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
The text was updated successfully, but these errors were encountered: