Skip to content

Rename indexer configuration nodes - #1981

Open
DFolchA wants to merge 27 commits into
masterfrom
1974-rename-nodes-in-wazuh-indexer-configuration
Open

DFolchA wants to merge 27 commits into
masterfrom
1974-rename-nodes-in-wazuh-indexer-configuration

Conversation

@DFolchA

@DFolchA DFolchA commented Dec 13, 2022

Copy link
Copy Markdown
Contributor
Related issue
#1974

Description

This PR changes the node names for indexer in the default config.yml template for the documentation and the indexer default configuration.

Related issue: wazuh/wazuh-documentation#5793

Logs example

Tests

  • Build the package in any supported platform
    • Linux
    • Windows
    • macOS
    • Solaris
    • AIX
    • HP-UX
  • Package installation
  • Package upgrade
  • Package downgrade
  • Package remove
  • Package install/remove/install
  • Change added to CHANGELOG.md

@DFolchA DFolchA self-assigned this Dec 13, 2022
- "indexer-1"
#- "indexer-2"
#- "indexer-3"
cluster.name: "wazuh-cluster"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe wazuh-indexer-cluster would be a less confusing name

network.host: "127.0.0.1"
node.name: "node-1"
node.name: "indexer-1"
cluster.initial_master_nodes:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

- name: wazuh-1
ip: <wazuh-manager-ip>
- name: server-1
ip: "<wazuh-manager-ip>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ip: "<wazuh-manager-ip>"
ip: "<wazuh-server-ip>"

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 504383b

#- name: wazuh-2
# ip: <wazuh-manager-ip>
#- name: server-2
# ip: "<wazuh-manager-ip>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the variables are not numbered? i.e <wazuh-server-2-ip>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 504383b

@verdx verdx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DFolchA
DFolchA changed the base branch from 4.4 to master January 10, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants