I am using the docker configuration on the server. I am not that much familiar with docker. Before docker, it is working fine but now it is not working and throwing an error.
elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error.
{:url=>"http://elastic:xxxxxx@xxx.xxx.xxx.xx:9200/",
:error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError,
:error=>"Elasticsearch Unreachable: [http://elastic:xxxxxx@xxx.xxx.xxx.xx:9200/]
[Manticore::ConnectTimeout] connect timed out"}
My output configuration file is:
output{
elasticsearch {
hosts=>"http://xxx.xxx.xxx.xx:9200"
index => "final_inter_sms"
user=> "xxx"
password=> "xxxxx"
document_id=>"%{[ReferenceId]}"
}
stdout{
codec => rubydebug
}
}