I got the message "curl: (6) Could not resolve host: 'localhost"
Are you sure the single quote in your command actually is a straight single quote and not something else? Microsoft programs are known for screwing this up.
curl: (7) Failed to connect to localhost port 9200: Connection refused
Elasticsearch isn't running, or it's running and not answering on port 9200 (which would be weird since that's the default). Alternatively you have a firewall blocking the access.
A stupid question, Should I start elasticsearch first and then logstash?
Cause, following the tutorial, nothing about start Elasticsearch was mentioned.
Plus, I turn off all my firewall configurations and about the quotes, I input that again, certifying that it's the right one and I got the same error.
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.