When I try to start logstash "systemctl start logstash" I see these error messages in the log:
[2018-04-04T21:46:39,189][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>"http://127.0.0.1:9200/"}
[2018-04-04T21:46:43,902][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>https://elasticsearch:changeme@:9200/, :path=>"/"}
[2018-04-04T21:46:43,909][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://elasticsearch:changeme@:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [https://elasticsearch:changeme@:9200/][Manticore::ClientProtocolException] URI does not specify a valid host name: https:/"}
[2018-04-04T21:46:48,912][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>https://elasticsearch:changeme@:9200/, :path=>"/"}
check the logs of filebeat or run filebeat -e -d "*" command on the terminal.
check whether logstash is getting input or not. and also the check the pattern in that output logstash config file .
Hello, filebeat doesn't return anything, no matter what command for example "filebeat version" nothing returned. It look's like filebeat needs reinstalling. Is there a way to bypass filebeat in the logstash output?
@heskez this url for hosts is wrong because this url is the Kibana.
On logstash output is necessary to config an elasticsearch url valid like hosts => ["localhost:9200"].
I suggest you change the hosts for hosts => ["localhost:9200"] in this logstash config file and try again.
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.