Cant access aws elasticsearch instance

(red der) #1

So I confirmed I can curl the enpoint successfully but logstash cant access:
output {
elasticsearch {
hosts => ""
timeout => 120
index => "sdffsdfsdfsdfsdf"
template_name => "sdfsdfsdf"
template_overwrite => true

But it can't connect:
Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [][Manticore::ConnectTimeout] connect timed out"}

I dont know if this is related but when I make a curl request I need to include a trailing slash.

For example this doesn't work:

But this does work:

How do I get logstash to include that trailing slash?

edit: this is working now, but cant see how to delete posts :confused:

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.