# Scale out logstash server and configure the output in the Fleet UI

**URL:** https://discuss.elastic.co/t/scale-out-logstash-server-and-configure-the-output-in-the-fleet-ui/333383
**Category:** Logstash
**Created:** [May 14, 2023, 4:07pm UTC](https://discuss.elastic.co/t/scale-out-logstash-server-and-configure-the-output-in-the-fleet-ui/333383 "2023-05-14T16:07:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![A113n](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@A113n](https://discuss.elastic.co/u/A113n)
#### Post date: [May 14, 2023, 4:07pm UTC](https://discuss.elastic.co/t/scale-out-logstash-server-and-configure-the-output-in-the-fleet-ui/333383/1 "2023-05-14T16:07:01Z")

</div>

Hi

I have 1 logstash server configured and 1 fleet server.

I now want to scale out logstash by 1 more server.

The Elastic Agent have client side support for loadbalancing between multiple logstash servers:

```auto
output.logstash:
    hosts: ["logstash-server1:5044", "logstash-server2:5044"]
    loadbalance: true

```

**My doubts are when it comes to configure the Fleet-\>Settings -\>Outputs section:**

I have my existing logstash 'logstash-server1' configured here.

Do I simply under the " **Advanced yaml configuration**" specify the

```auto
output.logstash:
    hosts: ["logstash-server1:5044", "logstash-server2:5044"]
    loadbalance: true

```

and that would take care of the loadbalancing 🤷‍♂️?

"logstash-server2" have the same ssl/tls configuration as "logstash-server1" of course.

my reference is the official guide here, except I am missing a step by step guide here and google is getting tired of me now 😉

> **[Deploying and Scaling Logstash | Logstash Reference \[8.7\] | Elastic](https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html)**

I really appreciate any hints, links, guides from you guys.

Cheers

---

<div class="post-metadata">

### Author: ![A113n](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@A113n](https://discuss.elastic.co/u/A113n)
#### Post date: [May 25, 2023, 5:29pm UTC](https://discuss.elastic.co/t/scale-out-logstash-server-and-configure-the-output-in-the-fleet-ui/333383/2 "2023-05-25T17:29:31Z")

</div>

solved ✔

---

<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: [June 22, 2023, 5:29pm UTC](https://discuss.elastic.co/t/scale-out-logstash-server-and-configure-the-output-in-the-fleet-ui/333383/3 "2023-06-22T17:29:32Z")

</div>

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