# Could not retrieve Elasticsearch cluster health

**URL:** <https://community.graylog.org/t/could-not-retrieve-elasticsearch-cluster-health/33846>\
**Category:** Graylog Central (peer support)\
**Created:** [October 13, 2024, 4:10pm UTC](https://community.graylog.org/t/could-not-retrieve-elasticsearch-cluster-health/33846 "2024-10-13T16:10:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spleenftw](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@spleenftw](https://community.graylog.org/u/spleenftw)\
**Post date:** [October 13, 2024, 4:10pm UTC](https://community.graylog.org/t/could-not-retrieve-elasticsearch-cluster-health/33846/1 "2024-10-13T16:10:47Z")

</div>

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.  
**Don’t forget to select tags to help index your topic!**

**1. Describe your incident:**

Hello, fresh docker install, no errors in my mongodb/opensearch/graylog containers, but on the web interface, i got this one :

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/e/ce9f5e900f19dd7b26cbb4262b2af870878afeb5.png)

Even though i can access it :

```auto
graylog@server:~$ curl http://opensearch:9200
{
  "name" : "3942973263d4",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "osMut6a-QMymQXTDNzStnQ",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.4.0",
    "build_type" : "tar",
    "build_hash" : "744ca260b892d119be8164f48d92b8810bd7801c",
    "build_date" : "2022-11-15T04:42:29.671309257Z",
    "build_snapshot" : false,
    "lucene_version" : "9.4.1",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

```

**2. Describe your environment:**

- OS Information: Debian 11

- Package Version:

- mondobg:5.0
- opensearch:2.4.0
- graylog:6.0.7

- Service logs, configurations, and environment variables:

Docker-compose.yml :

```auto
version: "3"

services:
  mongodb:
    image: "mongo:5.0"
    volumes:
      - "/mnt/data01/graylog/mongodb:/data/db"
    restart: "on-failure"

  opensearch:
    image: "opensearchproject/opensearch:2.4.0"
    environment:
      - "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
      - "bootstrap.memory_lock=true"
      - "discovery.type=single-node"
      - "action.auto_create_index=false"
      - "plugins.security.ssl.http.enabled=false"
      - "plugins.security.disabled=true"
    volumes:
      - "/mnt/data01/graylog/opensearch:/usr/share/opensearch/data"
    restart: "on-failure"

  graylog:
    hostname: "server"
    image: "graylog/graylog:6.0.7"
    entrypoint: "/usr/bin/tini -- wait-for-it opensearch:9200 -- /docker-entrypoint.sh"
    environment:
      GRAYLOG_NODE_ID_FILE: "/usr/share/graylog/data/config/node-id"
      GRAYLOG_PASSWORD_SECRET: "yyy"
      GRAYLOG_ROOT_PASSWORD_SHA2: "xxxx"
      GRAYLOG_HTTP_BIND_ADDRESS: "0.0.0.0:9000"
      GRAYLOG_HTTP_EXTERNAL_URI: "http://localhost:9000/"
      GRAYLOG_ELASTICSEARCH_HOSTS: "http://opensearch:9200"
      GRAYLOG_MONGODB_URI: "mongodb://mongodb:27017/graylog"
    ports:
    - "5044:5044/tcp" # Beats
    - "5140:5140/udp" # Syslog
    - "5140:5140/tcp" # Syslog
    - "5141:5141/udp" # Syslog
    - "5555:5555/tcp" # RAW TCP
    - "5555:5555/udp" # RAW TCP
    - "9000:9000/tcp" # Server API
    - "12201:12201/tcp" # GELF TCP
    - "12201:12201/udp" # GELF UDP
    - "13301:13301/tcp" # Forwarder data
    - "13302:13302/tcp" # Forwarder config
    volumes:
      - "/mnt/data01/graylog/data:/usr/share/graylog/data/data"
      - "/mnt/data01/graylog/journal:/usr/share/graylog/data/journal"
    restart: "on-failure"

```

**3. What steps have you already taken to try and solve the problem?**

I’ve got no errors in my logs, nothing about some rights in my /mnt/data01/graylog/xxx.

**4. How can the community help?**

**Helpful Posting Tips:** [Tips for Posting Questions that Get Answers](https://community.graylog.org/t/tips-for-posting-questions-that-get-answers/21828) [Hold down CTRL and link on link to open tips documents in a separate tab]

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [October 27, 2024, 4:11pm UTC](https://community.graylog.org/t/could-not-retrieve-elasticsearch-cluster-health/33846/2 "2024-10-27T16:11:23Z")

</div>

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