Open suyograo opened 9 years ago
Er, nevermind. Telnet is TCP, the gelf input is UDP. You can test like this:
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 -v -u
I had to put -Djava.net.preferIPv4Stack=true in the java opts to get it to bind to an IPv4 port.
But even still, the GELF input is not working very well for me. I think there are some bugs in the current version. It would be really nice to have it because we want to use the GELF appender for jboss logs.
From https://github.com/elastic/logstash/issues/3666
Logstash Input Configuration
Telnet Test