# Configure many outputs for filebeat

**URL:** https://discuss.elastic.co/t/configure-many-outputs-for-filebeat/173693
**Category:** Beats
**Tags:** filebeat
**Created:** [March 25, 2019, 8:59am UTC](https://discuss.elastic.co/t/configure-many-outputs-for-filebeat/173693 "2019-03-25T08:59:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wolecharles\_job](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolecharles_job/32/42674_2.png) [@wolecharles\_job](https://discuss.elastic.co/u/wolecharles_job)
#### Post date: [March 25, 2019, 8:59am UTC](https://discuss.elastic.co/t/configure-many-outputs-for-filebeat/173693/1 "2019-03-25T08:59:27Z")

</div>

I want to be able to configure multiple outputs for the filebeat. FIlebeat sends appropriate file to a configured output. What i mean is

**Filebeat sends the content of File A to the configured elastic search output on IP address and port**

**Filebeat sends the content of File B to the configured logstash output on IP address and port**

file A - [output.elasticsearch] on 192.1.2.1:3900  
file B - [output.logstash] on 182.4.5.1:2001

---

<div class="post-metadata">

### Author: ![BennyInc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bennyinc/32/21751_2.png) [@BennyInc](https://discuss.elastic.co/u/BennyInc)
#### Post date: [March 25, 2019, 9:44am UTC](https://discuss.elastic.co/t/configure-many-outputs-for-filebeat/173693/2 "2019-03-25T09:44:04Z")

</div>

Unfortunately only a single output may be defined in the current version of Filebeat.

In your case, you might want to send both to Logstash, and then handle the various outputs there? You could just pass through the file A one without passing through any filters, maybe?

Alternatively you might look into running two separate Filebeat instances. This is what I'm currently examining for my setup.

---

<div class="post-metadata">

### Author: ![wolecharles\_job](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolecharles_job/32/42674_2.png) [@wolecharles\_job](https://discuss.elastic.co/u/wolecharles_job)
#### Post date: [March 25, 2019, 9:54am UTC](https://discuss.elastic.co/t/configure-many-outputs-for-filebeat/173693/3 "2019-03-25T09:54:14Z")

</div>

Thanks BennyInc

---

<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: [April 22, 2019, 9:54am UTC](https://discuss.elastic.co/t/configure-many-outputs-for-filebeat/173693/4 "2019-04-22T09:54:18Z")

</div>

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