# Logstash JDBC - Same input from multiple databases with one config

**URL:** https://discuss.elastic.co/t/logstash-jdbc-same-input-from-multiple-databases-with-one-config/93900
**Category:** Logstash
**Created:** [July 20, 2017, 9:48am UTC](https://discuss.elastic.co/t/logstash-jdbc-same-input-from-multiple-databases-with-one-config/93900 "2017-07-20T09:48:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tmoeller](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tmoeller](https://discuss.elastic.co/u/tmoeller)
#### Post date: [July 20, 2017, 9:48am UTC](https://discuss.elastic.co/t/logstash-jdbc-same-input-from-multiple-databases-with-one-config/93900/1 "2017-07-20T09:48:03Z")

</div>

Hi,

is there a way to collect the same data from a number of databases with one central instance of logstash without blowing up the config file?? Today you have to provide a complete config for every host if i understand correctly.

I have somthing like an array of hosts in the config in mind. The plugin then would recursively run the same config for every host in the array. This is to avoid rolling out logstash to every system.

Kind regards,

Thorsten

---

<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: [August 17, 2017, 9:48am UTC](https://discuss.elastic.co/t/logstash-jdbc-same-input-from-multiple-databases-with-one-config/93900/2 "2017-08-17T09:48:26Z")

</div>

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