I’m trying to use Telegraf to send certain metrics to specific buckets in InfluxDB V2. Previously in InfluxDB v 1.XX this was easy using namepass
or namedrop
in the config files (see below), but this doesn’t seem to work in V2. Does anyone have any suggestions? I’ve looked thru the Telegraf Plugins documentation, but haven’t found anything. I am thinking this may be a limitation of InfluxDB V2 at the moment giving it’s beta status
[[outputs.influxdb]]
urls = [ "http://localhost:8086" ]
database = "house"
namepass = ["power"] #Only set these measurements to pass
[[outputs.influxdb]]
urls = [ "http://localhost:8086" ]
database = "telegraf"
namedrop = ["power","sensors"] #Only set these measurements to be blocked