Im trying to send logs from my graylog instance into logstash and graylog is giving me the error:-
"2020-08-10T10:38:31.273Z ERROR [GelfTcpTransport] Connection failed: connection timed out: /logstashIP: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.
First don’t use localhost as host in logstash config file, because, it will only listen to 127.0.0.1, so no remote connection from graylog (if logstash is on different host as graylog). Change it to 0.0.0.0 or better don’t use parameter host at all and try again.