Ingesting traffic from td-agent to elasticsearch index created, I see the process fails in the ingestion after some days working fine.
This is the error I got and the index stop ingresing traffic:
2020-01-20 05:38:44 +0100 [warn]: #0 dump an error event: error_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster ({:host=>"elasticsearch-logging.mirada.lab", :port=>80, :scheme=>"http"}): Connection refused - connect(2) for 10.2.1.14:9200 (Errno::ECONNREFUSED)"
location="/opt/td-agent/embedded/lib/ruby/gems/2.5.0/gems/fluent-plugin-elasticsearch-3.8.0/lib/fluent/plugin/out_elasticsearch.rb:886:in `rescue in send_bulk'"