Hi,
I am getting data from two topics from an MQTT broker. In one topic the data is temperature data and in the second topic, the data is vibration data. As per the following configuration, the data from both topic will be added with the measurement as point_data
.
How can I add different measurement ‘temperature’ for topic “temperature/simulated/0” and measurement ‘vibration’ for topic "“vibrartion/simulated/0”?
[[inputs.mqtt_consumer]]
servers = ["tcp://$HOST_IP:1883"]
topics = [
"temperature/simulated/0",
"vibrartion/simulated/0",
]
name_override = "point_data"
data_format = "json"