I have the same problem, but I haven't been able to solve it(
I have all the data as integer, but I still get this error: [inputs.mqtt_consumer] Error in plugin: metric parse error: expected tag at 1:3: "84".
mqtt.conf for Telegraf:
[[inputs.mqtt_consumer]]
servers = ["tcp://localhost:1883"]
topics = [ "test_topic" ]
qos = 0
client_id = "qwe12"
#name_override = "entropy_available"
#topic_tag = "test_topic"
data_format = "influx"
data_type = "integer"
Influxdb:
[[inputs.mqtt_consumer]]
servers = ["tcp://localhost:1883"]
topics = [
"test_topic"
]
[[inputs.mqtt_consumer.fieldpass]]
field="value"
converter="integer"
Where am I doing wrong?