# Connect Logstash 8.10 to Elasticsearch 8.10

**URL:** <https://discuss.elastic.co/t/connect-logstash-8-10-to-elasticsearch-8-10/348564>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [December 4, 2023, 1:58pm UTC](https://discuss.elastic.co/t/connect-logstash-8-10-to-elasticsearch-8-10/348564 "2023-12-04T13:58:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdeljalil\_El\_Yousso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdeljalil_el_yousso/32/120026_2.png) [@Abdeljalil\_El\_Yousso](https://discuss.elastic.co/u/Abdeljalil_El_Yousso)\
**Post date:** [December 4, 2023, 1:58pm UTC](https://discuss.elastic.co/t/connect-logstash-8-10-to-elasticsearch-8-10/348564/1 "2023-12-04T13:58:51Z")

</div>

Can anyone please provide an example to connect Logstash with elasticsearch runing on docker on a debian environement , the connection using SSL "very important"  
i followed the documentation but i guess im missing something as i get " EROOR : Host Unreachable "

Thanks

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [December 4, 2023, 3:20pm UTC](https://discuss.elastic.co/t/connect-logstash-8-10-to-elasticsearch-8-10/348564/2 "2023-12-04T15:20:28Z")

</div>

Hi @Abdeljalil_El_Yousso,

Can you share where in the documentation you're following? I see steps for [installing](https://www.elastic.co/guide/en/logstash/current/docker.html) and [configuring](https://www.elastic.co/guide/en/logstash/current/docker-config.html) Logstash with docker, as well as [this segment on secure connections](https://www.elastic.co/guide/en/logstash/current/ls-security.html).

I see an old example using 7.x [here](https://github.com/dockersamples/awesome-compose/blob/4db6d40d08d083cfe6deaf9d3f2331432d307c32/elasticsearch-logstash-kibana/README.md#L2) but I would take using it with a pinch of salt as you have security settings enabled by default as of v8.x.

---

<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 1, 2024, 3:21pm UTC](https://discuss.elastic.co/t/connect-logstash-8-10-to-elasticsearch-8-10/348564/3 "2024-01-01T15:21:24Z")

</div>

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