# Multi output for multi prospectors

**URL:** <https://discuss.elastic.co/t/multi-output-for-multi-prospectors/67861>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 2, 2016, 1:44pm UTC](https://discuss.elastic.co/t/multi-output-for-multi-prospectors/67861 "2016-12-02T13:44:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YLombardi](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@YLombardi](https://discuss.elastic.co/u/YLombardi)\
**Post date:** [December 2, 2016, 1:44pm UTC](https://discuss.elastic.co/t/multi-output-for-multi-prospectors/67861/1 "2016-12-02T13:44:42Z")

</div>

I use ELK 5.0.1 + Filebeat 5.0.1.

On my server I have 2 kind of prospectors :

- json logs
- text logs

Currently, I configure Filebeat to send the json logs directly to elasticsearch.  
This works fine.

Now I want to send the text logs to logstash to parse them with a grok filter.

In the Filebeat configuration, I don't find how to use 2 output for this 2 prospectors.

Is it possible ?  
How can I do this ?

---

<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:** [December 2, 2016, 3:36pm UTC](https://discuss.elastic.co/t/multi-output-for-multi-prospectors/67861/2 "2016-12-02T15:36:03Z")

</div>

It is not possible to route the events to different outputs. All events go to all outputs. So you can send it all to Logstash and then route the events from there.

---

<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 30, 2016, 3:36pm UTC](https://discuss.elastic.co/t/multi-output-for-multi-prospectors/67861/3 "2016-12-30T15:36:07Z")

</div>

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