I am using telegraf to write mqtt messages to questdb. Currently, all my mqtt messages are written into the table "mqtt_consumer" by default. How can I change the name, where the mqtt_consumer is writing the data into the db?
[inputs.mqtt_consumer.tags]
destinationdb = "mqtt_data"
That doesn't work. I cant find an option for that. It could be that the table name needs to be set in the output plugin but I can't find any option for that. This is my output plugin:
[[outputs.socket_writer]]
adress = "tcp://localhost:9000"