Graylog elastic cluster

Hello. What do I need to make an elastic cluster? Is it necessary to install graylog and mongo on each node with an elastic?

Hello

I might be able to answer you question.

This is some information on setting up Elastic cluster.

Elasticsearch cluster

Set up a cluster for high availability

This all depends on your environment, how much log/s are you trying to ingest per minutes/hour/day.
This documention might have some information that could guide you in your build.

Planning Your Log Collection

@gsmith Okay, thanks. How can I set up an elastic cluster? I made some settings, but the cluster shows only 1 node. What exactly do I need to enter in the config so that elastic can see other nodes?

my config for master :

cluster.name: graylog
node.name: es-node-01
#node.attr.rack: r1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
#bootstrap.memory_lock: true
network.host: 0.0.0.0
http.port: 9200
discovery.seed_hosts:
- 0.0.0.0:9300
- my_private_ip
- my_private_ip
cluster.initial_master_nodes: ["es-node-01"]
gateway.recover_after_nodes: 2
#action.destructive_requires_name: true
action.auto_create_index: false
node.master: true

for other node:

cluster.name: graylog
node.name: es-node-02
#node.attr.rack: r1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
#bootstrap.memory_lock: true
network.host: my_private_ip
http.port: 9200
discovery.seed_hosts:
- 0.0.0.0:9300
- my_private_ip
- my_private_ip
cluster.initial_master_nodes: ["es-node-01"]
gateway.recover_after_nodes: 2
#action.destructive_requires_name: true
action.auto_create_index: false
node.data: true
#discovery.zen.ping.unicast.hosts: ["my_private_ip", "my_private_ip", "my_private_ip"]

Hello,

This is a good read on creating elasticsearch cluster.

1 Like

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