I start logstash my input uses the s3 input plugin. I'm try to output to elasticsearch. However, I get an error and warning.
[ERROR] 2018-10-12 19:12:03.039 [[main]<s3] s3 - S3 input: Unable to list objects in bucket {:prefix=>nil, :message=>"The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint."}
[WARN ] 2018-10-12 19:12:42.531 [Ruby-0-Thread-4: :1] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://localhost:9200/][Manticore::SocketException] Connection refused (Connection refused)"}