# Winlogbeat 8.2.3, loadbalance: true

**URL:** https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212
**Category:** Beats
**Tags:** winlogbeat
**Created:** [August 2, 2022, 11:48am UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212 "2022-08-02T11:48:16Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Helmut](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@Helmut](https://discuss.elastic.co/u/Helmut)
#### Post date: [August 2, 2022, 11:48am UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/1 "2022-08-02T11:48:16Z")

</div>

Hi,

in winlogbeat.yaml I have:

```auto
output.logstash:
hosts: ["logstashA:5044", "logstashB:5044"]
loadbalance: true

```

When either of those hosts is down the other one also does not get events forwarded anymore. Is this a misconfiguration on my side?

Thank you!

---

<div class="post-metadata">

### Author: ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)
#### Post date: [August 2, 2022, 4:13pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/2 "2022-08-02T16:13:30Z")

</div>

Check the logs. Does it send to both when both are up? Did it work on prior versions?

That matches our config.

During the problem, test from your winlogbeat host with telnet, maybe whatever whatever causes one to be down is really causing both to be down.

---

<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 2, 2022, 4:34pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/3 "2022-08-02T16:34:17Z")

</div>

@rugenl is right, it should be sending data to the host that is up.

Make sure at least one host is up, check Winglobeat and Logstash logs to make sure they're both working correctly.

You should see log errors regarding the host that is down on Winlogbeat

---

<div class="post-metadata">

### Author: ![Helmut](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@Helmut](https://discuss.elastic.co/u/Helmut)
#### Post date: [August 2, 2022, 7:24pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/4 "2022-08-02T19:24:40Z")

</div>

I didn't test previous versions yet as this setup ran fine for 2 months.

hosts: ["logstash:5044", "localhost:5044"]  
#hosts: ["localhost:5044"]  
loadbalance: true

ELK@logstash is up but cannot process indices as the disk is full. With that config localhost:5044 does not show new messages anymore.

#hosts: ["logstash:5044", "localhost:5044"]  
hosts: ["localhost:5044"]  
#loadbalance: true

localhost:5044 immediately gets new messages.

Can I upload the logs somehow? Not sure what to look for, at least cannot see an obvious error.

---

<div class="post-metadata">

### Author: ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)
#### Post date: [August 2, 2022, 7:27pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/5 "2022-08-02T19:27:15Z")

</div>

Fix the disk full problem.

---

<div class="post-metadata">

### Author: ![Helmut](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@Helmut](https://discuss.elastic.co/u/Helmut)
#### Post date: [August 2, 2022, 7:31pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/6 "2022-08-02T19:31:40Z")

</div>

Yes, sure, will do so soon 😃 I was just wondering why localhost:5044 also stopped working.

---

<div class="post-metadata">

### Author: ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)
#### Post date: [August 2, 2022, 7:45pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/7 "2022-08-02T19:45:21Z")

</div>

It doesn't matter where the logstash servers are, if they are sending to an elastic store that is full, they can't log. They might have persistent queues and could temporarily hold some data, but diagnosing broken systems beyond the obvious break is "an exercise left to the reader" :-}

---

<div class="post-metadata">

### Author: ![Helmut](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@Helmut](https://discuss.elastic.co/u/Helmut)
#### Post date: [August 2, 2022, 7:59pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/8 "2022-08-02T19:59:23Z")

</div>

Just to make sure, disks at logstash:5044 are full, disks at localhost:5044 aren't but still localhost:5044 refuses to log / refuses to receive messages / does not get messages from Winlogbeat... I assumed that this is what a cluster is for, if one node fails others take over.

---

<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 30, 2022, 10:00pm UTC](https://discuss.elastic.co/t/winlogbeat-8-2-3-loadbalance-true/311212/9 "2022-08-30T22:00:17Z")

</div>

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