# How to make beats send data to multiple instances

**URL:** <https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010>\
**Category:** Beats\
**Created:** [April 30, 2019, 3:46am UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010 "2019-04-30T03:46:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Guo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_guo/32/42297_2.png) [@Robin\_Guo](https://discuss.elastic.co/u/Robin_Guo)\
**Post date:** [April 30, 2019, 3:46am UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010/1 "2019-04-30T03:46:38Z")

</div>

Dear ElasticSearch Team,

Here I take logs use case as an example, Basically, we'll collect these system logs, application logs, business logs for each application on our production, and ship them to different logstash clusters instead of a logstash cluster.

which means we want filebeat send logs to different logstash cluster for each type of logs. but filebeat only can send data to a destination by default.

We don't want everything goes through a dedicate logstash cluster,  
Is there a way can make a filebeat send data to multiple logstash clusters or how to run filebeat with multiple instances on a server in terms of different types of logs?

I'll appreciate that if Elastic Team can provide a solution with details.  
It would be better if can provide of how to implement that step by step with instructions

I know Nxlog supports to send the data to multiple destinations, But I really want ship logs with filebeat.

Best Regards  
Robin

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [April 30, 2019, 7:18am UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010/2 "2019-04-30T07:18:43Z")

</div>

One Filebeat instance is only able to send to one output. If you would like to forward events to multiple Logstashes, Elasticsearches, etc. you need to start multiple instances of Filebeat with different configuration.  
Step by step getting started guide for Filebeat: [https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html)

---

<div class="post-metadata">

**Author:** ![Robin\_Guo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_guo/32/42297_2.png) [@Robin\_Guo](https://discuss.elastic.co/u/Robin_Guo)\
**Post date:** [April 30, 2019, 7:25am UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010/3 "2019-04-30T07:25:11Z")

</div>

Hi @kvch

I meant that how to setup or enable multiple instances for a Filebeat app step by step.

not the URL you posted above to how to deploy filebeat.

Thanks

---

<div class="post-metadata">

**Author:** ![Robin\_Guo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_guo/32/42297_2.png) [@Robin\_Guo](https://discuss.elastic.co/u/Robin_Guo)\
**Post date:** [April 30, 2019, 9:58am UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010/4 "2019-04-30T09:58:03Z")

</div>

How can we run several filebeat instances on both windows and linux server?  
Any updates?

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [April 30, 2019, 10:02am UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010/5 "2019-04-30T10:02:17Z")

</div>

You can start multiple instances with the same commands, so I am not sure what you expect.

You can configure the different folders of each filebeat by setting the options mentioned in:  
[https://www.elastic.co/guide/en/beats/filebeat/current/configuration-path.html](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-path.html)

---

<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:** [May 28, 2019, 12:02pm UTC](https://discuss.elastic.co/t/how-to-make-beats-send-data-to-multiple-instances/179010/6 "2019-05-28T12:02:23Z")

</div>

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