# Graylog not connecting to Logstash via loadbalancer

**URL:** <https://community.graylog.org/t/graylog-not-connecting-to-logstash-via-loadbalancer/16410>\
**Category:** Graylog Central (peer support)\
**Created:** [July 16, 2020, 3:03pm UTC](https://community.graylog.org/t/graylog-not-connecting-to-logstash-via-loadbalancer/16410 "2020-07-16T15:03:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pointoj123](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@pointoj123](https://community.graylog.org/u/pointoj123)\
**Post date:** [July 16, 2020, 3:03pm UTC](https://community.graylog.org/t/graylog-not-connecting-to-logstash-via-loadbalancer/16410/1 "2020-07-16T15:03:06Z")

</div>

Im trying to send logs from my graylog instance into logstash via a load balanacer and graylog is giving me the error:-

"2020-07-16T14:48:44.568Z ERROR [GelfTcpTransport] Connection failed: connection timed out: /LoadBalancerIP:5606  
"  
There is data going into my Graylog instance as i can see messages going in. I cant find any information online as to how to solve this issue.

The load balancer rule listens on port 5606 and sends to the backend servers on port 5606

Graylog output -  
"\* connect\_timeout:1000

- hostname:LBIP
- max\_inflight\_sends:512
- port:5606
- protocol:TCP
- queue\_size:512
- reconnect\_delay:500
- tcp\_keep\_alive:false
- tcp\_no\_delay:false
- tls\_trust\_cert\_chain:
- tls\_verification\_enabled:false"

Logstash config file -  
“input {  
gelf {  
use\_tcp =\> true  
port =\> 5606  
}  
}”

Can anyone suggest what is is i need to do to sort this as i am a complete loss?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [July 30, 2020, 3:10pm UTC](https://community.graylog.org/t/graylog-not-connecting-to-logstash-via-loadbalancer/16410/2 "2020-07-30T15:10:16Z")

</div>

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