# Installation of OpenSearch with Graylog 5.x (CentOS/Rocky Linux)

**URL:** <https://community.graylog.org/t/installation-of-opensearch-with-graylog-5-x-centos-rocky-linux/29735>\
**Category:** Documentation Campfire\
**Created:** [August 3, 2023, 12:54pm UTC](https://community.graylog.org/t/installation-of-opensearch-with-graylog-5-x-centos-rocky-linux/29735 "2023-08-03T12:54:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shenke](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/shenke/32/5961_2.png) [@shenke](https://community.graylog.org/u/shenke)\
**Post date:** [August 3, 2023, 12:54pm UTC](https://community.graylog.org/t/installation-of-opensearch-with-graylog-5-x-centos-rocky-linux/29735/1 "2023-08-03T12:54:24Z")

</div>

Hi,  
in [CentOS installation](https://go2docs.graylog.org/5-1/downloading_and_installing_graylog/red_hat_installation.htm) and [CentOS installation](https://go2docs.graylog.org/5-0/downloading_and_installing_graylog/red_hat_installation.htm) you write

```auto
sudo yum install -y opensearch

```

But this will break the installation, since (at the moment) version 2.9 is actual, but GL only supports OS up to 2.5.  
The correct line would be

```auto
sudo dnf install opensearch-2.5.0

```

Can you correct this in the docs?

---

<div class="post-metadata">

**Author:** ![drewmiranda-gl](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/drewmiranda-gl/32/13376_2.png) [@drewmiranda-gl](https://community.graylog.org/u/drewmiranda-gl)\
**Post date:** [August 3, 2023, 4:26pm UTC](https://community.graylog.org/t/installation-of-opensearch-with-graylog-5-x-centos-rocky-linux/29735/2 "2023-08-03T16:26:12Z")

</div>

Greetings! Later version are compatible and do work. This is a mismatch with our docs unfortunately. I can conform that i’m running OpenSearch 2.8.0 without issue. I’ve also asked our internal teams and they have used 2.9.0 with success.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![ramindia](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ramindia/32/5085_2.png) [@ramindia](https://community.graylog.org/u/ramindia)\
**Post date:** [November 18, 2023, 11:14pm UTC](https://community.graylog.org/t/installation-of-opensearch-with-graylog-5-x-centos-rocky-linux/29735/3 "2023-11-18T23:14:09Z")

</div>

any inputs GL 5.2 with Opensearch 2.11 ?

---

<div class="post-metadata">

**Author:** ![drewmiranda-gl](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/drewmiranda-gl/32/13376_2.png) [@drewmiranda-gl](https://community.graylog.org/u/drewmiranda-gl)\
**Post date:** [November 27, 2023, 3:24pm UTC](https://community.graylog.org/t/installation-of-opensearch-with-graylog-5-x-centos-rocky-linux/29735/4 "2023-11-27T15:24:57Z")

</div>

As far as I’m aware all versions of OpenSearch 2.x are compatible, including 2.11.

Anecdotally, I’m running 2.11 and have not encountered any issues and have not found any issues or errors in the OpenSearch logs.
