Hello,
i try to send mqtt data to influxdb through telegraf. But unfortionatly the inputs.mqtt_consumer plugin doesnt work. When i publish a message in “sensors” nothing happens. All the other input methods, like inputs.file, work as intended, so mqtt_consumer has to be the problem. My telegraf.conf file looks like this:
[[inputs.mqtt_consumer]]
servers = [“tcp://mqtt:1883”]
topics = [
“sensors”
]
data_format = “influx”`
[[outputs.influxdb]]
urls = [“http://influxdb:8086”]
database = “test”
skip_database_creation = true