# Influx Cloud 2.0 + Telegraf

**URL:** <https://www.thethingsnetwork.org/forum/t/influx-cloud-2-0-telegraf/44582>\
**Category:** Application Development\
**Created:** [February 20, 2021, 3:37pm UTC](https://www.thethingsnetwork.org/forum/t/influx-cloud-2-0-telegraf/44582 "2021-02-20T15:37:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiv](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/shiv/32/35697_2.png) [@shiv](https://www.thethingsnetwork.org/forum/u/shiv)\
**Post date:** [February 20, 2021, 3:37pm UTC](https://www.thethingsnetwork.org/forum/t/influx-cloud-2-0-telegraf/44582/1 "2021-02-20T15:37:42Z")

</div>

I’m following the link here: [Telegraf Setup for MQTT Integration with InfluxDB Cloud | The Things Stack for LoRaWAN](https://www.thethingsindustries.com/docs/integrations/cloud-integrations/influxdb-cloud/telegraf-setup/telegraf-mqtt-setup/)

So I tried to test this on my windows machine, but I gave up because window is stupid.  
Anyways, I setup a debian instance and configured telegraf, updated the config (as per the instructions) and ran the service.

The service is working, as far as I can tell:

- journalctl tells me it’s connected to ttn
- on ttn v3 console, under the live stream, I can see the subscription

I have a test device that’s reporting every 10 minutes. But I can’t seem to get the data into influx. I’ve double checked the credentials, etc.

I know I can run a simple python script (it’s what I did for V2), but I’d like to try telegraf MQTT.

Has anyone come across this?

---

<div class="post-metadata">

**Author:** ![jakob](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jakob/32/37936_2.png) [@jakob](https://www.thethingsnetwork.org/forum/u/jakob)\
**Post date:** [May 18, 2021, 7:52am UTC](https://www.thethingsnetwork.org/forum/t/influx-cloud-2-0-telegraf/44582/2 "2021-05-18T07:52:04Z")

</div>

Hey shiv,

I had the same problem and found a solution. Regarding the [docs](https://www.thethingsindustries.com/docs/getting-started/migrating/major-changes/#mqtt-connection-details) the MQTT topic has changed.

For TTN **v2** I had to subscribe to  
`topics = ["+/devices/+/up"]`

whereas for TTN **v3** the topic needs to be slightly changed to:  
`topics = ["v3/+/devices/+/up"]`

I hope this helps!

---

<div class="post-metadata">

**Author:** ![dieguitto](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dieguitto/32/38069_2.png) [@dieguitto](https://www.thethingsnetwork.org/forum/u/dieguitto)\
**Post date:** [June 11, 2021, 7:49am UTC](https://www.thethingsnetwork.org/forum/t/influx-cloud-2-0-telegraf/44582/3 "2021-06-11T07:49:37Z")

</div>

Thank you jakob,

You saved my day.
