Could not retrieve Elasticsearch cluster health

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 :

Even though i can access it :

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 :

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 [Hold down CTRL and link on link to open tips documents in a separate tab]

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