# Log stash pipeline not connecting to Elasticsearch

**URL:** https://discuss.elastic.co/t/log-stash-pipeline-not-connecting-to-elasticsearch/307259
**Category:** Logstash
**Created:** [June 15, 2022, 11:40am UTC](https://discuss.elastic.co/t/log-stash-pipeline-not-connecting-to-elasticsearch/307259 "2022-06-15T11:40:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [June 15, 2022, 3:49pm UTC](https://discuss.elastic.co/t/log-stash-pipeline-not-connecting-to-elasticsearch/307259/2 "2022-06-15T15:49:15Z")

</div>

> [@harijld](#):
>
> [[http://10.128.0.3:9200/](http://10.128.0.3:9200/)]... Could not connect to a compatible version of Elasticsearch

If you do a get to that URL, you will get JSON back which includes things like the the minimum version that is wire protocol compatible. Generally you need logstash and elasticsearch to be the same version, or very close thereto.

See [this](https://discuss.elastic.co/t/logtstash-updating-fron-7-9-to-7-16-2/298453/2) thread.

---

_[View the full topic](https://discuss.elastic.co/t/log-stash-pipeline-not-connecting-to-elasticsearch/307259)._
