Graylog cluster giving error

when I see the log of my graylog cluster I find that it has repetitive logs of this kind indefinitely:

2017-06-12 11:46:45,832 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] initializing ...
2017-06-12 11:46:45,835 INFO : org.elasticsearch.plugins - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] modules [], plugins [graylog-monitor], sites []
2017-06-12 11:46:46,163 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] version[2.4.4], pid[1], build[fcbb46d/2017-01-03T11:33:16Z]
2017-06-12 11:46:46,163 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] initializing ...
2017-06-12 11:46:46,163 INFO : org.elasticsearch.plugins - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] modules [], plugins [graylog-monitor], sites []
2017-06-12 11:46:46,517 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] version[2.4.4], pid[1], build[fcbb46d/2017-01-03T11:33:16Z]
2017-06-12 11:46:46,518 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] initializing ...
2017-06-12 11:46:46,518 INFO : org.elasticsearch.plugins - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] modules [], plugins [graylog-monitor], sites []
2017-06-12 11:46:47,149 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] version[2.4.4], pid[1], build[fcbb46d/2017-01-03T11:33:16Z]
2017-06-12 11:46:47,151 INFO : org.elasticsearch.node - [graylog-56dc99da-adf0-4ca5-bc96-bce2c5d6e7e6] initializing ...

Which finaly ends up crashing and restarting the pod (I used kubernetes) and this continues, my env vars are :

env:
            - name : GRAYLOG_PASSWORD_SECRET
              value: "somepasswordpepper"
            - name: GRAYLOG_ROOT_PASSWORD_SHA2
              value: "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918"
            - name: GRAYLOG_WEB_ENDPOINT_URI
              value: "http://0.0.0.0:31450/api"
            - name: GRAYLOG_REST_LISTEN_URI
              value: "http://0.0.0.0:9000/api/"
            - name: GRAYLOG_WEB_LISTEN_URI
              value: "http://0.0.0.0:9000/"
            - name: ELASTICSEARCH_DISCOVERY_ZEN_PING_MULTICAST_ENABLED
              value: "false"
            - name: ELASTICSEARCH_DISCOVERY_ZEN_PING_UNICAST_HOSTS
              value: "elastic-svc.default.svc.cluster.local:9300"
            - name: GRAYLOG_MONGODB_URI
              value: "mongodb://localhost:27017/graylog" 

Please help, have been stuck at it for so long.

Which version of Elasticsearch are you using and is the data directory of Graylog writable?

1 Like

Image of elastic search : docker.io/elasticsearch:2
Yes I am using minikube in my own laptop, its writable, can you please also check once the env variables.
More info :
My graylog cluster has 2 services: 1 that has graylog and mongo db, other has only elastic search, service name being elastic-svc, listening on 9300.
Thanks for replying :slight_smile:

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