I am using InfluxDB 2.0.4 and Teleraf 1.22.1 for reading the from MQTT broker.
I am getting multiple device data in my broker. For one device it creates the one topic.
Now no of the topics getting increased now I want to wild card in the topic name so when new devices come I don’t have to add a topic name in Telegraf configuration
suppose I have topic name below
topics = [ “device1”, “device2”, “device3”, “device4”, “device5”, ] I want to pass something like topics = [ “device/*”, ]
Something like that so I don’t have to update the config when a new device comes.