I want to send messages into logstash listening on localhost UDP port to test that it works. I'm on linux and would like to use ncat, how can I do it? Maybe it's wrong but echo test | ncat -v -u localhost 5999 has an error.
Ncat: Version 7.60 ( https://nmap.org/ncat )
Ncat: Connected to ::1:5999.
Ncat: Connection refused.
I think if you change from localhost to your interface's ip address, it will work. Or, set the host setting for the udp plugin to localhost / 127.0.0.1 / ::1.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.