5
votes

Is it possible to setup influxdb to fetch data from other influxdb? or have some local log proxy for influx data.

e.g. I have 10 backend server. I wish every backend servers middleware code to log events locally in influxdb or some local log proxy.

I wish to setup another server with influxdb that will fetch logs from every backend server and accumulate it.

I can't find if such configuration is possible. May be I miss some "search term" to google for it.

1
You can do this if you like. Why you would is beyond me though. You would have to write your own cronjob/script for this. Influx db does not support data replication/duplication in the free version.Callam Delaney

1 Answers

4
votes

Take a look at Telegraf from InfluxData - it is an agent for Collecting & Reporting Metrics & Data.

You can install a Telegraf instance on each of your 10 middleware servers and report data to local Telegraf instead of InfluxDB.

In Telegraf you can either configure output to your InfluxDB or even point it to some persistent stream like Kafka and configure another Telegraf which will read data from Kafka and persist it to InfluxDB