How to read messages from "Azure IoT hub" and forward to InfluxDB?

#1

Greetings all,

I would like to send messages to Azure IOT Hub and use Influxdb as the Time Series DB. I don’t see anything in the Telegraf conf file that will allow me to do that. Does anyone have any insights?

Thank you in advance.

#2

You’re going to need to have some type of code running in between to collect outgoing messages from the IoT Hub and submit them to InfluxDB. If you’re using something like MQTT to get the messages into IoT hub then you could subscribe to those messages with Telegraf too, bypassing the need to run the extra code but getting the values before any processing being done in Azure.

A quick search turned up this utility as a possibility: https://github.com/eihag/amqp-influxdb-forwarder

#3

Thank you for your reply. Yes, I did see the amqp-influxdb-forwarder utility but I was hoping for something that would not need a VM or Container.

Thank you again for the research :slight_smile: