Logstash无法向Graylog发送消息

Logstash无法向Graylog发送消息,logstash,graylog,Logstash,Graylog,我无法将邮件发布到我的graylog服务器。我在logstash中打开了调试,我可以看到消息传出,但我从未在我的graylog服务器中接收到它们。我已经使用nc测试了两台服务器之间的连接,它可以正常工作 echo -e '{"version": "1.1","host":"example.org","short_message":"Short message","full_message":"Backtrace here\n\nmore stuff","level":1,"_user_id":9

我无法将邮件发布到我的graylog服务器。我在logstash中打开了调试,我可以看到消息传出,但我从未在我的graylog服务器中接收到它们。我已经使用
nc
测试了两台服务器之间的连接,它可以正常工作

echo -e '{"version": "1.1","host":"example.org","short_message":"Short message","full_message":"Backtrace here\n\nmore stuff","level":1,"_user_id":9001,"_some_info":"foo","_some_env_var":"bar"}\0' | nc -w 1 111.222.333.444 12201

据我所知,Logstash不支持带有TCP的GELF。尝试使用UDP/GELF输入,它应该可以工作