Why has the Elasticsearch Zen Discovery been removed?

I updated from graylog2/server:2.2.3-1 to graylog/graylog:2.4.6-1

The logs is full of messages like this:
ERROR: org.graylog2.indexer.cluster.Cluster - Couldn’t read cluster health for indices [graylog_*] (Could not connect to http://127.0.0.1:9200)

In my docker-compose.yml I had a line like this:
GRAYLOG_ELASTICSEARCH_DISCOVERY_ZEN_PING_UNICAST_HOSTS: “graylog-es-01:9300,graylog-es-02:9300”

After some reading I figured out that elasticsearch_discovery_zen_ping_unicast_hosts is no longer supported:
https://github.com/Graylog2/graylog2-server/commit/4213a2257429b6a0803ab1b52c39a6a35fbde889#diff-ff769929a97ba53b83908b0eb76f1308

The GIT checkin comment is very brief: “Due to the differences in connecting to the Elasticsearch cluster, configuring Graylog has changed. These configuration settings have been removed”.

Why has the Elasticsearch Zen Discovery been removed?

the easiest way would be, read the documentation: http://docs.graylog.org/en/2.4/pages/upgrade.html

1 Like

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