I had been using this configuration for Logstash 2.2.0 until this morning, which worked perfectly. But after an upgrade to 2.3.0, I get the following error message on the console -
Update : I hosted Elasticsearch publicly on '172.25.3.31' and port '9200'. So I updated my Logstash config to reflect this. Now I see Logstash Startup Completed with no errors but I don't see any of the logs in the console, which means they aren't going through to the ES server. Here's the config file -
Ah see I didn't open the image because they are usually too hard to read. It'd better if you post the text of console output like that, not the picture
What you are seeing is normal, it means LS has started and is waiting on new data in the file you specified in the input.
This is not an error.
"Connection refused {:class=>"Manticore::SocketException", :level=>:error}" is what the console says for Logstash-2.3.0. The same line is repeated 8 times for Logstash-2.2.3.
Right, so I've made hosts an array like you said. I must say here that I did not need to mention the hosts parameter when I was using Logstash-2.2.0 until two days ago. I'm surprised it is needed here.
I see the following on my console -
Settings: Default pipeline workers: 8
Pipeline main started
However, none of the logs are actually getting stashed after this as is supposed to happen. Pasting my config file again here below -
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.