I have a device sending a single value thru a mosquitto server into telegraf. The data is a floating point value with 2 degrees, i.e, 24.25. However, when I pass a value into telegraf, I get this on the output:
Field type conflict, dropping conflicted points: Response Error: Status Code , expected , [partial write: field type conflict: input field “value” on measurement “mqtt_consumer” is type float, already exists as type integer dropped=2]
My telegraf.conf looks like this
servers = [“localhost:1883”]
qos = 0
connection_timeout = "30s"
topics = [
client_id = ""
data_format = "value"
data_type = “float”
The problem is, I have no idea where else it’s defined as a integer. The word “integer” isn’t even in my config doc. Is there some sort of default I need to change, or another configuration somewhere?