# Export sensor data to influx

**URL:** https://forum.sensor.community/t/export-sensor-data-to-influx/1381
**Category:** Uncategorized
**Created:** [May 5, 2022, 9:48am UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381 "2022-05-05T09:48:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Neeta\_Jadhav](https://forum.sensor.community/user_avatar/forum.sensor.community/neeta_jadhav/32/876_2.png) [@Neeta\_Jadhav](https://forum.sensor.community/u/Neeta_Jadhav)
#### Post date: [May 5, 2022, 9:48am UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381/1 "2022-05-05T09:48:23Z")

</div>

Hello,

I would like to export all my sensor data to influx db. Can anyone help me with the api configuartion below

 ![image](https://forum.sensor.community/uploads/default/original/1X/0e7b611377d5815fa56fac2b35c21ffcb2c3f445.png)

Thanks in advance

---

<div class="post-metadata">

### Author: ![Jan](https://forum.sensor.community/user_avatar/forum.sensor.community/jan/32/656_2.png) [@Jan](https://forum.sensor.community/u/Jan)
#### Post date: [May 5, 2022, 6:47pm UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381/2 "2022-05-05T18:47:51Z")

</div>

You would need to have acces to a (remote) server. Have it setup to your own liking with influxDB and than you can configure the setup of your sensor to send data correctly to the influx database.

---

<div class="post-metadata">

### Author: ![Neeta\_Jadhav](https://forum.sensor.community/user_avatar/forum.sensor.community/neeta_jadhav/32/876_2.png) [@Neeta\_Jadhav](https://forum.sensor.community/u/Neeta_Jadhav)
#### Post date: [May 8, 2022, 9:25pm UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381/3 "2022-05-08T21:25:15Z")

</div>

Hello Jan,

Thanks for the reply. I appreciate your time. Below is the configuration for post method to write into influxdb 2, i am using basic authentication

 ![image](https://forum.sensor.community/uploads/default/original/1X/32668c4fefa6aa0d078b2c8a24772780cf47f15e.png)

I don’t see any data in influx db on the vm. Does the influxdb2 supports basic auth?  
I have tried from postman too, it doesn’t work with basic auth.

---

<div class="post-metadata">

### Author: ![sde2209](https://forum.sensor.community/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@sde2209](https://forum.sensor.community/u/sde2209)
#### Post date: [November 10, 2022, 10:08am UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381/4 "2022-11-10T10:08:32Z")

</div>

hi Neeta, I have the same problem / question. Did you solve it?

---

<div class="post-metadata">

### Author: ![Rene\_Wijninga](https://forum.sensor.community/user_avatar/forum.sensor.community/rene_wijninga/32/1259_2.png) [@Rene\_Wijninga](https://forum.sensor.community/u/Rene_Wijninga)
#### Post date: [January 7, 2023, 6:30pm UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381/5 "2023-01-07T18:30:19Z")

</div>

Did anyone get this solved? I’m trying the same but no data gets written to the database. If I change the path to: /write?db=sensorcommunity and test it in Postman, I get (of course) the error that there are missing fields. I would expect the Particulate matter sensor software to send the correct fields to be written to the database? What am I missing here?

---

<div class="post-metadata">

### Author: ![caduceus.crow](https://forum.sensor.community/letter_avatar_proxy/v4/letter/c/4491bb/32.png) [@caduceus.crow](https://forum.sensor.community/u/caduceus.crow)
#### Post date: [December 10, 2023, 2:48am UTC](https://forum.sensor.community/t/export-sensor-data-to-influx/1381/7 "2023-12-10T02:48:34Z")

</div>

@Rene_Wijninga @Neeta_Jadhav

Hello, if you need help in this matter, you can go to my topic, I discussed this problem there

[LINK THIS](https://forum.sensor.community/t/particulate-matter-sensor-does-not-push-data-to-influxdb/2421)

if you need help, write to me, I will try to help you \<3
