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.