# Mutiple logstash instances using jdbc\_input to avoid spof

**URL:** https://discuss.elastic.co/t/mutiple-logstash-instances-using-jdbc-input-to-avoid-spof/156314
**Category:** Logstash
**Created:** [November 12, 2018, 3:48pm UTC](https://discuss.elastic.co/t/mutiple-logstash-instances-using-jdbc-input-to-avoid-spof/156314 "2018-11-12T15:48:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Christophe\_Journel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophe_journel/32/12534_2.png) [@Christophe\_Journel](https://discuss.elastic.co/u/Christophe_Journel)
#### Post date: [November 12, 2018, 3:48pm UTC](https://discuss.elastic.co/t/mutiple-logstash-instances-using-jdbc-input-to-avoid-spof/156314/1 "2018-11-12T15:48:47Z")

</div>

Hello,

I have a pipeline which uses jdbc\_input once per night.  
However, I would like to use 2 servers ( with one logstash per server) just in case one of these server crashes.

But i dont want to run the job on the 2 servers. Is there a way to "loadbalance" this job across the 2 servers ?

Thanks,

---

<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: [December 10, 2018, 3:48pm UTC](https://discuss.elastic.co/t/mutiple-logstash-instances-using-jdbc-input-to-avoid-spof/156314/2 "2018-12-10T15:48:49Z")

</div>

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