79805056

Date: 2025-10-30 17:28:57
Score: 6.5 🚩
Natty:
Report link

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?
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1): I still get this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Ринат Ташев