# Send netdata metrics to InfluxDB

**URL:** <https://community.netdata.cloud/t/send-netdata-metrics-to-influxdb/7552>\
**Category:** Help\
**Tags:** agent\
**Created:** [May 9, 2025, 8:27pm UTC](https://community.netdata.cloud/t/send-netdata-metrics-to-influxdb/7552 "2025-05-09T20:27:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frenchdom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/frenchdom/32/4340_2.png) [@Frenchdom](https://community.netdata.cloud/u/Frenchdom)\
**Post date:** [May 9, 2025, 8:27pm UTC](https://community.netdata.cloud/t/send-netdata-metrics-to-influxdb/7552/1 "2025-05-09T20:27:32Z")

</div>

Hi Community,

I see on the doc that I have to Use Graphite or Prometheus Rewrite to connect to InfluxDB V2. I’ve tried by many ways but I’m not able to do it. I keep getting messages like this :

```auto
mai 09 22:15:29 dominique-BMAX netdata[46576]: EXPORTING: failed to write data to '192.168.1.104:8086'. Willing to write 606244 bytes, wrote 110048 bytes. Will re-connect.

mai 09 22:15:39 dominique-BMAX netdata[46576]: EXPORTING: failed to write data to '192.168.1.104:8086'. Willing to write 606253 bytes, wrote 110048 bytes. Will re-connect.

mai 09 22:15:49 dominique-BMAX netdata[46576]: EXPORTING: failed to write data to '192.168.1.104:8086'. Willing to write 606229 bytes, wrote 110048 bytes. Will re-connect

```

Example of my config in exporting.conf:

```auto
[graphite:my_graphite_instance]
     enabled = yes
     destination = 192.168.1.104:8086
     username = <MyInfluxDBUserName>
     password = <MyInfluxDBPassword>
     token = <myoken>
     organization = <myorg>
     bucket = <mybucket>
     prefix = netdata
     hostname = localhost
     update every = 10
     buffer on failures = 10
     timeout ms = 20000
     # send names instead of ids = yes
     # send charts matching = *
     # send hosts matching = localhost *

```

What am I doing wrong ? I can’t find many information about a way to do this.

When I use the same informations and do it in CLI via curl or via influx, it works :

> `curl --request POST "http://192.168.1.104:8086/api/v2/write?org=<myorg>>&bucket=<mybucket>>&precision=ns" --header "Authorization: Token <mytoken>" --header "Content-Type: text/plain; charset=utf-8" --header "Accept: application/json" --data-binary 'netdata,host=localhost value=123456789'`

> ` ./influx write --bucket <mybucket> --org <myorg> --token <mytoken> --host http://192.168.1.104:8086 'netdata,host=localhost value=123456789'`

Any help appreciated.

Thank you.  
Dom
