# Filebeat sending to Logstash AND Elasticsearch

**URL:** <https://discuss.elastic.co/t/filebeat-sending-to-logstash-and-elasticsearch/69650>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 21, 2016, 8:54am UTC](https://discuss.elastic.co/t/filebeat-sending-to-logstash-and-elasticsearch/69650 "2016-12-21T08:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ypereirareis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ypereirareis/32/14042_2.png) [@ypereirareis](https://discuss.elastic.co/u/ypereirareis)\
**Post date:** [December 21, 2016, 8:54am UTC](https://discuss.elastic.co/t/filebeat-sending-to-logstash-and-elasticsearch/69650/1 "2016-12-21T08:54:11Z")

</div>

Hello,

Is it possible in the same filebeat configuration to tell filebeat to send some logs (prospectors) directly to elasticsearch (mysql, nginx) **AND** some other logs to logstash ?

Because some log formats can directly be managed by filebet and elasticsearch, and some others need to have custom Logstash filters before being sent to Elasticsearch.

Thanks

---

<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:** [December 21, 2016, 9:36am UTC](https://discuss.elastic.co/t/filebeat-sending-to-logstash-and-elasticsearch/69650/2 "2016-12-21T09:36:02Z")

</div>

There are some github issues for this ([https://github.com/elastic/beats/issues/3120](https://github.com/elastic/beats/issues/3120)) but this is currently not possible. Our recommendation here is two use 2 instance of Filebeat.

---

<div class="post-metadata">

**Author:** ![ypereirareis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ypereirareis/32/14042_2.png) [@ypereirareis](https://discuss.elastic.co/u/ypereirareis)\
**Post date:** [December 21, 2016, 9:52am UTC](https://discuss.elastic.co/t/filebeat-sending-to-logstash-and-elasticsearch/69650/3 "2016-12-21T09:52:33Z")

</div>

Ok That's what I thought !

Thx !

---

<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:** [January 18, 2017, 9:53am UTC](https://discuss.elastic.co/t/filebeat-sending-to-logstash-and-elasticsearch/69650/4 "2017-01-18T09:53:04Z")

</div>

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