Hi,
I'm experimenting with the elastic cloud for the first time and I have some issue when I try the simple example found here: https://www.elastic.co/blog/building-cloud-sandbox-with-sample-data-v2. When I try to do the logstash (ver 2.1.3) command, I get this error (stars and CAPS are mine):
https: unknown error {:class=>"Manticore::ResolutionFailure", :level=>:error}
Logstash startup completed
..........Attempted to send a bulk request to Elasticsearch configured at
'["HTTP://HTTPS://***.us-east-1.aws.found.io:9243/"]', but an error occurred
and it failed!
Are you sure you can reach elasticsearch from this machine using the
configuration provided?
{:client_config=>{:hosts=>["http://https://***.us-east-1.aws.found.io:9243/"]
, :ssl=>nil, :transport_options=>{...} ...}
My apache_logstash.conf seems to be good:
elasticsearch {
hosts => "https://***.us-east-1.aws.found.io:9243"
user => "***"
password => "***"
index => "apache_elastic_example"
template => "./apache_template.json"
template_name => "apache_elastic_example"
template_overwrite => true
}
The error seems to show that the url is not well formed. I removed in my conf file the https header but it does not work, maybe because it tries to use http and not https. How could I force the utilization of https? Can I use https with basic authentication? The Import Data shown at the link provided above seems to say yes.
By the way, this simple curl command works:
curl -XGET -u *** -p https://***.us-east-1.aws.found.io:9243
Thanks for your help