# Output data to different sources using filebeat

**URL:** <https://discuss.elastic.co/t/output-data-to-different-sources-using-filebeat/135233>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 9, 2018, 5:05pm UTC](https://discuss.elastic.co/t/output-data-to-different-sources-using-filebeat/135233 "2018-06-09T17:05:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauldon2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pauldon2/32/32079_2.png) [@pauldon2](https://discuss.elastic.co/u/pauldon2)\
**Post date:** [June 9, 2018, 5:05pm UTC](https://discuss.elastic.co/t/output-data-to-different-sources-using-filebeat/135233/1 "2018-06-09T17:05:49Z")

</div>

Is it possible to configure a filebeat where data from modules is output directly to elasticsearch,  
and data from prospectors are output in the logstash?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 9, 2018, 6:04pm UTC](https://discuss.elastic.co/t/output-data-to-different-sources-using-filebeat/135233/2 "2018-06-09T18:04:22Z")

</div>

No, Beats only support a single output. You would need to run two separate instance to achieve this. Typically though I would recommend sending to Logstash and then routing the data from there.

---

<div class="post-metadata">

**Author:** ![pauldon2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pauldon2/32/32079_2.png) [@pauldon2](https://discuss.elastic.co/u/pauldon2)\
**Post date:** [June 10, 2018, 7:23am UTC](https://discuss.elastic.co/t/output-data-to-different-sources-using-filebeat/135233/3 "2018-06-10T07:23:07Z")

</div>

I understood.  
Thanks for the answer.

---

<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 8, 2018, 7:23am UTC](https://discuss.elastic.co/t/output-data-to-different-sources-using-filebeat/135233/4 "2018-07-08T07:23:08Z")

</div>

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