# Metricbeat configuration multiples modules with different outputs

**URL:** <https://discuss.elastic.co/t/metricbeat-configuration-multiples-modules-with-different-outputs/311117>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [August 1, 2022, 1:07pm UTC](https://discuss.elastic.co/t/metricbeat-configuration-multiples-modules-with-different-outputs/311117 "2022-08-01T13:07:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![melzi](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@melzi](https://discuss.elastic.co/u/melzi)\
**Post date:** [August 1, 2022, 1:07pm UTC](https://discuss.elastic.co/t/metricbeat-configuration-multiples-modules-with-different-outputs/311117/1 "2022-08-01T13:07:48Z")

</div>

Hello everyone,

I have a problem with ELK and I would like to ask you for help...

I have activated 2 modules metricbeat: System and Logstash-xpack.

I need to send the data from the System module to logstash node and the data from the Logstash-xpack module directly to the elastic cluster.

---

<div class="post-metadata">

**Author:** ![TiagoQueiroz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagoqueiroz/32/107061_2.png) [@TiagoQueiroz](https://discuss.elastic.co/u/TiagoQueiroz)\
**Post date:** [August 1, 2022, 3:22pm UTC](https://discuss.elastic.co/t/metricbeat-configuration-multiples-modules-with-different-outputs/311117/2 "2022-08-01T15:22:25Z")

</div>

Hi @melzi, unfortunately Metricbeat only supports a single output, it's clearly stated on our [documentation](https://www.elastic.co/guide/en/beats/metricbeat/current/configuring-output.html):

> You configure Metricbeat to write to a specific output by setting options in the Outputs section of the `metricbeat.yml` config file. Only a single output may be defined.

What you can do to circumvent this is to use two different instances of Metricbeat, each one with a module and an output.

---

<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:** [August 29, 2022, 5:22pm UTC](https://discuss.elastic.co/t/metricbeat-configuration-multiples-modules-with-different-outputs/311117/3 "2022-08-29T17:22:58Z")

</div>

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