InfluxDB + Telegraf and multiple sensors within one application

What are using the collect the mqtt data? node-red or python etc?

I found node-red great for collecting the data from an application, but was limited with my skills on it to extract the whole payload on the metadata side. I also had trouble in setting fields and tags with influx, but again I think that is more related to my node-red/javascript short comings then node-red itself.

I was able to write a python3 script which was able to extract the entire payload, which I could then send the entire payload to an influx db with set measurement, field and tag keys from the device data.