I am using telegraf to listen to my LoRa MQTT topics and write them into influxdb. Everything works fine, except I need to parse/store only specific fields and discard all the rest. I have done it via python but cant’ really figure out how to do same with telegraph.
f.eg below is the sample, I only need SRN and rssi fields (there is bunch of other stuff). I think there should be some kind of template or schema that I can feed into telegraf?
many thanks in advance,