Hello Graylog Community,
I am setting up Graylog 6.1 in a Docker environment, but I am facing an issue where the Data Node is not available, and Graylog keeps retrying to connect.
I have been troubleshooting for a while but haven’t been able to resolve the issue. I would really appreciate any guidance on what might be causing this problem and how I can fix it.
My Setup:**
- Graylog Version:
6.1
- Installation Type: Docker
- Graylog Data Node: Yes
- OpenSearch Installed:
No
- Operating System: Ubuntu 22.04 (running Docker)
- Docker & Docker-Compose Installed:
Yes
Issue Description:**
- When I check the Graylog logs, I repeatedly see the following error:
org.graylog2.configuration.IndexerDiscoveryProvider - Datanode is not available. Retry #XX
- The Graylog UI shows “No Data Nodes Found”
- Running
docker ps
shows that the Graylog container is running - The Data Node appears to be running but is not recognized by Graylog
Steps I Have Taken to Troubleshoot:**
- Checked running containers with
docker ps
- Graylog is running
- Data Node is running
- Restarted Graylog Data Node (
docker restart <container-id>
)
No effect
- Checked Graylog Logs (
docker logs -f <graylog-container-id>
)
- The error keeps repeating
- Checked Open Ports in the Container with:
netstat -tulnp
- The Data Node port is listening, but Graylog is not connecting
- Restarted the entire Graylog stack:
docker-compose down && docker-compose up -d
Still no data node detected
- Checked the Graylog UI for Data Nodes
- It shows “No Data Nodes Found”
Request for Help – My Questions:**
- Why is Graylog not detecting the Data Node?
- Do I need OpenSearch, or can I run Graylog with just the built-in Data Node?
- **Is there a specific configuration I need to check in
docker-compose.yml
? - Are there additional logs I should check to find the root cause?
I would really appreciate any suggestions or guidance from the community.
Thanks in advance for your help!