Telegraf forwarding


Is there any way to do data forwarding from one telegraf to another one?

Thanks in advance


1 Like

You should be able to use the “influxdb” output plugin, along with the “http_listener” input plugin, to accomplish this. From the http_listener documentation:

The intent of the plugin is to allow Telegraf to serve as a proxy/router for the /write endpoint of the InfluxDB HTTP API.

The instance sending data would be configured with the “influxdb” output, with the urls parameter set to the address of the receiving Telegraf.

The receiving Telegraf would then be configured with the “http_listener” plugin.

You can have multiple outputs if you want to forward to multiple Telegraf instances.