0

I want to combine the topic to a single field. Currently I am trying this:

 data_format = "json_v2"
  [[inputs.mqtt_consumer.json_v2]]
    [[inputs.mqtt_consumer.topic_parsing]]
      topic = "+/+/+/"
      tags = "name/id/value"
      fields = "name/id/_"
    [[inputs.mqtt_consumer.json_v2.tag]]
      path = "timestamp" 

But it will split it into name and id, but it should combine both to a new string and save that one.

Leitzy
  • 21
  • 7

0 Answers0