Forward metrics to central InfluxDB

Hey…currently i have a simple setup where data is collected from the servers using Telegraf and written to a InfluxDB database located in the same datacentre. What i would like to do is have all the Telegraf endpoints send data to a relay which forwards the metrics to a central influxDB database which is located in a different location.

What would be the recommended way to pull this off?


You can configure a relay Telegraf by using the http_listener input plugin and the influxdb output plugin. The http_listener provides the same API as InfluxDB so you would send to it using the influxdb output on your edge Telegraf instances.