# Logstash output to elastic-search fails

**URL:** <https://discuss.elastic.co/t/logstash-output-to-elastic-search-fails/212695>\
**Category:** Logstash\
**Created:** [December 20, 2019, 5:52pm UTC](https://discuss.elastic.co/t/logstash-output-to-elastic-search-fails/212695 "2019-12-20T17:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Warner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/j_warner/32/47016_2.png) [@J\_Warner](https://discuss.elastic.co/u/J_Warner)\
**Post date:** [December 20, 2019, 5:52pm UTC](https://discuss.elastic.co/t/logstash-output-to-elastic-search-fails/212695/1 "2019-12-20T17:52:28Z")

</div>

Hey recently deployed Elasticsearch via ECK and Logstash with deployment the problem I'm getting is when the connection between them two

when I check the logs I get the following error:

[2019-12-20T17:47:53,592][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[https://elastic:xxxxxx@10.15.248.234:9200/](https://elastic:xxxxxx@10.15.248.234:9200/)", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[https://elastic:xxxxxx@10.15.248.234:9200/](https://elastic:xxxxxx@10.15.248.234:9200/)][Manticore::ClientProtocolException] PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"}

"Unable to find valid certification path to requested target" I've turned off this feature inside  
Elasticsearch

```
        tls:
          selfSignedCertificate:
            disabled: true

```

Not too sure why I'm still getting these error's

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 17, 2020, 5:52pm UTC](https://discuss.elastic.co/t/logstash-output-to-elastic-search-fails/212695/2 "2020-01-17T17:52:37Z")

</div>

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