# Can filebeat be configured to send to different ES or logstash servers?

**URL:** <https://discuss.elastic.co/t/can-filebeat-be-configured-to-send-to-different-es-or-logstash-servers/41503>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 11, 2016, 3:41pm UTC](https://discuss.elastic.co/t/can-filebeat-be-configured-to-send-to-different-es-or-logstash-servers/41503 "2016-02-11T15:41:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![skynardo](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@skynardo](https://discuss.elastic.co/u/skynardo)\
**Post date:** [February 11, 2016, 3:41pm UTC](https://discuss.elastic.co/t/can-filebeat-be-configured-to-send-to-different-es-or-logstash-servers/41503/1 "2016-02-11T15:41:15Z")

</div>

I have a request to send Database logs to one ES server and tomcat logs to another ES server. Can this be configured in filebeat version 1.1.0-1 ?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [February 12, 2016, 11:49am UTC](https://discuss.elastic.co/t/can-filebeat-be-configured-to-send-to-different-es-or-logstash-servers/41503/2 "2016-02-12T11:49:11Z")

</div>

Filebeat can connect to multiple elasticsearch hosts (which are assumed to be long to one cluster) but it cannot route your data dependent on the log file. If the logs should be sent to different clusters it is currently best to start two filebeat instances.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 12, 2016, 9:49pm UTC](https://discuss.elastic.co/t/can-filebeat-be-configured-to-send-to-different-es-or-logstash-servers/41503/3 "2016-02-12T21:49:42Z")

</div>

Or send them to LS and let it do the splitting.

---

<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 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/can-filebeat-be-configured-to-send-to-different-es-or-logstash-servers/41503/4 "2017-07-05T21:55:45Z")

</div>


