I have set-up an ELK server in testing environment. I intend to send log messages from different clients to ELK, but first i want to test it from localhost to verify it running properly.
Previously i had directly , used a python library to interact with elastic-search (since there was a problem in using urllib2 , 400 bad request) , but this time i want to send the message to log-stash and let the log-stash deal with it before it goes to Elastic Search.
I used netcat , but there is some problem with the port number:
  echo "access denied" | nc localhost 5514
  Ncat: Connection refused.
Seems like there is nothing on this port. The logstash service is running.