Hi all,
I have a graylog server setup as a single host. Version are:
Host - Ubuntu 18.04
Graylog - 3.0.0-12
Java - 1.8.0_191
Elasticsearch - 6.6.2"
MongoDB - 4.0.6
Apache - 2.4.29
So I'm I want to add a node the a single cluster. I set up the new host, specs are:
Host - Ubuntu 18.04
Java - 1.8.0_191
Elasticsearch - 6.6.2"
I edited my /etc/elasticsearch/elasticsearch.yml and it looks like this:
cluster.name: graylog
node.name: crow
node.data: truepath.logs: /var/log/elasticsearch
discovery.zen.ping.unicast.hosts: ["172.24.228.161","172.24.228.226"]
.161 is my single graylog server and 226 is the new node. ES has been restarted. I have then edited my single graylog ES conf, which looks like this:
cluster.name: graylog
action.auto_create_index: false
node.master: truenode.name: grayone
path.logs: /var/log/elasticsearch
discovery.zen.ping.unicast.hosts: ["172.24.228.161","172.24.228.226"]
Config based on ES guide -
But when I go into graylog and check nodes the new one is not there. Doing a ```
curl -XGET 'http://127.0.0.1:9200/_cluster/health?pretty=true'
> {
> "cluster_name" : "graylog",
> "status" : "green",
> "timed_out" : false,
> "number_of_nodes" : 1,
> "number_of_data_nodes" : 1,
> "active_primary_shards" : 28,
> "active_shards" : 28,
> "relocating_shards" : 0,
> "initializing_shards" : 0,
> "unassigned_shards" : 0,
> "delayed_unassigned_shards" : 0,
> "number_of_pending_tasks" : 0,
> "number_of_in_flight_fetch" : 0,
> "task_max_waiting_in_queue_millis" : 0,
> "active_shards_percent_as_number" : 100.0
> }
Both servers can ping each other. There aren't any errors in the graylog.log on either host
Have I missed something in the config?