hello, i am running some test with sensor using mosquitto broker, telegraf and influx . this is my config file.
Global Agent Configuration
…
Input Plugins
[[inputs.mqtt_consumer]]
name_prefix = “sensors_”
servers = [“localhost:1883”]
qos = 0
connection_timeout = “30s”
topics = [
“/m1/#”,
“/m2/#”,
“/m3/#”,
“/m4/#”,
“/id_machine/#”,
]
persistent_session = false
data_format = “value”
data_type = “float”
Output Plugins
…
i would like that telegraf be able to read any topic with “#” so i can run more that 4 machine ( 4 sensors)
can you help me what i am doing wrong??