MQTT plugin not writing data to influxdb

Hi @jmo @phill,
So it is more than acceptable to have two or even more of the same plugin type within your config. In some cases we even encourage it to spread the load with large datasets. Can I propose a config reshuffle:

[[inputs.mqtt_consumer]]
   servers = ["tcp://192.168.50.36:1883"]
   topics = [
     "perfscore"
   ]
   topic_tag = "topic"
   qos = 0
   connection_timeout = "30s"
   max_undelivered_messages = 1000
   persistent_session = false
   data_format = "value"
   data_type = "integer"


[[inputs.mqtt_consumer]]
   name_override = "mqtt_sensors"
   servers = ["tcp://192.168.50.36:1887"]
   topics = [
     "meraki/v1/mt/+/ble/+/temperature",
     "meraki/v1/mt/+/ble/+/humidity",
     "meraki/v1/mt/+/ble/+/batteryPercentage"
   ]

   topic_tag = "sensors"
   qos = 0
   connection_timeout = "30s"
   max_undelivered_messages = 1000
   persistent_session = false
   data_format = "json_v2"

   [[inputs.mqtt_consumer.topic_parsing]]
     topic = "+/+/+/+/+/+/+"
     tags = "_/_/_/network/_/device/_"

 [[inputs.mqtt_consumer.json_v2]]
 [[inputs.mqtt_consumer.json_v2.object]]
path = "@this"


2 Likes