# Retrieve mesurment from Influxdb to telegraf

**URL:** <https://community.influxdata.com/t/retrieve-mesurment-from-influxdb-to-telegraf/12971>\
**Category:** Systems\
**Created:** [February 11, 2020, 2:42pm UTC](https://community.influxdata.com/t/retrieve-mesurment-from-influxdb-to-telegraf/12971 "2020-02-11T14:42:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivelin\_Yanev](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/ivelin_yanev/32/4363_2.png) [@Ivelin\_Yanev](https://community.influxdata.com/u/Ivelin_Yanev)\
**Post date:** [February 11, 2020, 2:42pm UTC](https://community.influxdata.com/t/retrieve-mesurment-from-influxdb-to-telegraf/12971/1 "2020-02-11T14:42:32Z")

</div>

Hello,  
I am new with influxdb and telegraf. Currently i am creating IoT platform with Mqtt, Telegraf, InfluxDb and Grafan. I push data to the Influxdb and i want to get(specify measurement) data with telegraf and send it to Mqtt broker(topic).

Influxdb —\> Telegraf ----\> Mqtt broker

Thanks

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.influxdata.com/u/Pooh)\
**Post date:** [February 11, 2020, 4:02pm UTC](https://community.influxdata.com/t/retrieve-mesurment-from-influxdb-to-telegraf/12971/2 "2020-02-11T16:02:39Z")

</div>

That is almost precisely the opposite way round to how most people use these  
tools. Telegraf can certainly send to MQTT, but I don’t see how it’s going to  
get data out of InfluxDB.

I suspect you’d be better off getting whatever process is putting the data into  
InfluxDB in the first place to send it either to Telegraf or direct to MQTT as  
well.

Antony.

---

<div class="post-metadata">

**Author:** ![Ivelin\_Yanev](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/ivelin_yanev/32/4363_2.png) [@Ivelin\_Yanev](https://community.influxdata.com/u/Ivelin_Yanev)\
**Post date:** [February 12, 2020, 8:45am UTC](https://community.influxdata.com/t/retrieve-mesurment-from-influxdb-to-telegraf/12971/3 "2020-02-12T08:45:46Z")

</div>

> [@Pooh](#):
>
> That is almost precisel

Thank! I just push data to Mqtt 🙂
