# Replicating inputs to multiple InfluxDB outputs

**URL:** <https://discuss.elastic.co/t/replicating-inputs-to-multiple-influxdb-outputs/135123>\
**Category:** Logstash\
**Created:** [June 8, 2018, 9:17am UTC](https://discuss.elastic.co/t/replicating-inputs-to-multiple-influxdb-outputs/135123 "2018-06-08T09:17:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbm](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tbm](https://discuss.elastic.co/u/tbm)\
**Post date:** [June 8, 2018, 9:17am UTC](https://discuss.elastic.co/t/replicating-inputs-to-multiple-influxdb-outputs/135123/1 "2018-06-08T09:17:45Z")

</div>

Hi,  
We collect metrics that are sent to Logstash and then stored to an InfluxDB. We have a case where we need to be able to send the data to an additional InfluxDB in a different data center. What's the best way to achieve this with logstash? I had a look at multiple pipelines but I'm not sure it's the correct way to do it (since there should only be one main input still). I also had a look at the clone plugin but that didn't seem like the correct fit either, though I might be wrong.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 8, 2018, 1:02pm UTC](https://discuss.elastic.co/t/replicating-inputs-to-multiple-influxdb-outputs/135123/2 "2018-06-08T13:02:52Z")

</div>

If you just want to send the same data to a different output, then have a second copy of the output in your logstash configuration.

---

<div class="post-metadata">

**Author:** ![tbm](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tbm](https://discuss.elastic.co/u/tbm)\
**Post date:** [June 8, 2018, 1:22pm UTC](https://discuss.elastic.co/t/replicating-inputs-to-multiple-influxdb-outputs/135123/3 "2018-06-08T13:22:07Z")

</div>

Hm, OK, thanks. I had hopes I wouldn't have to have any duplicates like this but maybe it's the easiest solution.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2018, 1:22pm UTC](https://discuss.elastic.co/t/replicating-inputs-to-multiple-influxdb-outputs/135123/4 "2018-07-06T13:22:10Z")

</div>

Closed on July 6, 2018, 1:22pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
