# FilebeatのOutputに複数の定義を設定する

**URL:** <https://discuss.elastic.co/t/filebeat-output/207275>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [November 11, 2019, 5:59am UTC](https://discuss.elastic.co/t/filebeat-output/207275 "2019-11-11T05:59:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![st1t](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/st1t/32/9188_2.png) [@st1t](https://discuss.elastic.co/u/st1t)\
**Post date:** [November 11, 2019, 9:01am UTC](https://discuss.elastic.co/t/filebeat-output/207275/3 "2019-11-11T09:01:09Z")

</div>

昔Issueが上がってたみたいですが、現時点では難しいのかな？と思っています。  
ちなみに、Outputを2箇所に分けておきたいのはどのような目的からでしょうか？👀

> <https://github.com/elastic/beats/issues/1035>
>
> Beats already support outputting to any combination of one file, ES, LS, redis, …kafka, and console at the same time. Could Beats be enhanced to support multiple outputs of the same type? An example use case is shown below.
> 
> \`\`\`
> |--\>Logstash input host (dev) -\> redis queue (dev) -\> logstash filter hosts (dev) -\> elasticsearch (dev) 
> Filebeat --|
> |--\>Logstash input host (prod) -\> redis queue (prod) -\> logstash filter hosts (prod) -\> elasticsearch (prod) 
> \`\`\`
> 
> Assuming there are no issues around multi-instantiation of an output type, then I think the biggest challenge here is around how to handle this in configuration (without braking backwards-compatability).

> [@Multiple type output](https://discuss.elastic.co/t/multiple-type-output/146352):
>
> Hi All, Wanted to use elasticsearch and logstash for filebeat output. Though we can use the multiple instances of filebeat would like to check any other possible options. Requirement Use elasticsearch output for default filebeat embedded modules like system and apache module Use logstash output for custom log file parsing and output. Considering workarounds create multiple logstash pipelines in which use the pipeline parameter for es output for every ingest pipeline. Many input filters to …

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-output/207275)._
