-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename indexer configuration nodes #1981
base: master
Are you sure you want to change the base?
Changes from 3 commits
54155d2
2bad7ea
4a698e6
7380970
9147f2a
fb6ad49
77a76e1
01a69bb
b40f22c
fd3d209
4ff03f2
12147be
f23a9c4
dcf94e4
6f98b1a
157ab66
784c473
5f6015e
ee55f21
6fb69d0
ad76483
9412bf9
76e8485
97c5751
b7d9115
8adc9fe
504383b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
nodes: | ||
# Wazuh indexer nodes | ||
indexer: | ||
- name: node-1 | ||
ip: <indexer-node-ip> | ||
#- name: node-2 | ||
# ip: <indexer-node-ip> | ||
#- name: node-3 | ||
# ip: <indexer-node-ip> | ||
- name: indexer-1 | ||
ip: "<indexer-node-ip>" | ||
#- name: indexer-2 | ||
# ip: "<indexer-node-ip>" | ||
#- name: indexer-3 | ||
# ip: "<indexer-node-ip>" | ||
|
||
# Wazuh server nodes | ||
# If there is more than one Wazuh server | ||
# node, each one must have a node_type | ||
server: | ||
- name: wazuh-1 | ||
ip: <wazuh-manager-ip> | ||
- name: server-1 | ||
ip: "<wazuh-manager-ip>" | ||
# node_type: master | ||
#- name: wazuh-2 | ||
# ip: <wazuh-manager-ip> | ||
#- name: server-2 | ||
# ip: "<wazuh-manager-ip>" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason why the variables are not numbered? i.e There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done 504383b |
||
# node_type: worker | ||
#- name: wazuh-3 | ||
# ip: <wazuh-manager-ip> | ||
#- name: server-3 | ||
# ip: "<wazuh-manager-ip>" | ||
# node_type: worker | ||
|
||
# Wazuh dashboard nodes | ||
dashboard: | ||
- name: dashboard | ||
ip: <dashboard-node-ip> | ||
ip: "<dashboard-node-ip>" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
network.host: "0.0.0.0" | ||
node.name: "node-1" | ||
node.name: "indexer-1" | ||
cluster.initial_master_nodes: | ||
- "node-1" | ||
#- "node-2" | ||
#- "node-3" | ||
- "indexer-1" | ||
#- "indexer-2" | ||
#- "indexer-3" | ||
cluster.name: "wazuh-cluster" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe wazuh-indexer-cluster would be a less confusing name |
||
#discovery.seed_hosts: | ||
# - "node-1-ip" | ||
# - "node-2-ip" | ||
# - "node-3-ip" | ||
# - "indexer-1-ip" | ||
# - "indexer-2-ip" | ||
# - "indexer-3-ip" | ||
node.max_local_storage_nodes: "3" | ||
path.data: /var/lib/wazuh-indexer | ||
path.logs: /var/log/wazuh-indexer | ||
|
@@ -28,9 +28,9 @@ plugins.security.authcz.admin_dn: | |
plugins.security.check_snapshot_restore_write_privileges: true | ||
plugins.security.enable_snapshot_restore_privilege: true | ||
plugins.security.nodes_dn: | ||
- "CN=node-1,OU=Wazuh,O=Wazuh,L=California,C=US" | ||
#- "CN=node-2,OU=Wazuh,O=Wazuh,L=California,C=US" | ||
#- "CN=node-3,OU=Wazuh,O=Wazuh,L=California,C=US" | ||
- "CN=indexer-1,OU=Wazuh,O=Wazuh,L=California,C=US" | ||
#- "CN=indexer-2,OU=Wazuh,O=Wazuh,L=California,C=US" | ||
#- "CN=indexer-3,OU=Wazuh,O=Wazuh,L=California,C=US" | ||
plugins.security.restapi.roles_enabled: | ||
- "all_access" | ||
- "security_rest_api_access" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
network.host: "127.0.0.1" | ||
node.name: "node-1" | ||
node.name: "indexer-1" | ||
cluster.initial_master_nodes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same |
||
- "node-1" | ||
- "indexer-1" | ||
cluster.name: "wazuh-cluster" | ||
|
||
node.max_local_storage_nodes: "3" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should also be applied to server-2 and server-3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 504383b