So I confirmed I can curl the enpoint successfully but logstash cant access:
output {
elasticsearch {
hosts => "https://search-blahbluahbluah.eu-central-1.es.amazonaws.com/"
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=>"https://search-blahbluahbluah.eu-central-1.es.amazonaws.com:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [https://search-blahbluahbluah.eu-central-1.es.amazonaws.com:9200/][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:
https://search-blahbluahbluah.eu-central-1.es.amazonaws.com:9200
But this does work:
https://search-blahbluahbluah.eu-central-1.es.amazonaws.com/:9200
How do I get logstash to include that trailing slash?
edit: this is working now, but cant see how to delete posts