[2017-06-28T10:09:41,704][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9300/, :path=>"/"}
[2017-06-28T10:09:41,714][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>#<URI::HTTP:0x7dd3fe39 URL:http://localhost:9300/>, :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://localhost:9300/][Manticore::ClientProtocolException] The server failed to respond with a valid HTTP response"}
Can any one of you please help me how to solve this ?
We have already implemented elastic search using java API which works only with 9300. So we are looking for some technology which will insert data into elastic search at port 9300. Using which we can do search with.
So is there any work around on using logstash to work with 9300 ? Or do you have any other alternative technical solution to populate data in elastic search server ?
Our input data to elastic server would be similar to log file which would keep getting updated every 30 minutes. Every time it gets updated we would like to read and update our elastic.
I am sorry if the provided information are not detailed.
They are just different protocols, so there are no such limitations. Data is indexed as JSON documents, and it does not matter which protocol it came in through.
Thanks Christian. It works. Till date I was thinking elastic maintains different data set for different ports (http and native) and are not accessible to each other, Thanks for helping me in this.
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.