Graylog not connecting to Logstash via loadbalancer

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?

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