Mqtt publishing the messages but telegraf cannot send it to the influxdb

Hi @shekhar-joshi,

There were 2 things wrong:

  1. You didn’t configure your InfluxDB output in telegraf.conf
  2. Your temperature reading is a string, not a number type

I’ve provided a working example of using the MQTT plugin for you here: