Skip to content

Commit

Permalink
Fixing alignment and improving sentences after review
Browse files Browse the repository at this point in the history
  • Loading branch information
pereyra-m committed Apr 3, 2024
1 parent 3ae0caf commit 43dd71a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
.. Copyright (C) 2015, Wazuh, Inc.
By default, the host is set to localhost: ``<host>https://0.0.0.0:9200</host>``. Replace ``0.0.0.0`` with your Wazuh indexer node IP address or hostname.
By default, the indexer settings have one host configured. It's set to localhost as highlighted below. Replace ``0.0.0.0`` with your Wazuh indexer node IP address or hostname.

.. code-block:: xml
:emphasize-lines: 4
<indexer>
<enabled>yes</enabled>
<hosts>
<host>https://0.0.0.0:9200</host>
</hosts>
<ssl>
<certificate_authorities>
<ca>/etc/filebeat/certs/root-ca.pem</ca>
</certificate_authorities>
<certificate>/etc/filebeat/certs/filebeat.pem</certificate>
<key>/etc/filebeat/certs/filebeat-key.pem</key>
</ssl>
</indexer>
If you have more than one Wazuh indexer node, add all the required ``<host>`` entries. The vulnerability detector module will report to the first available node found and will switch to the next one in case of error.
:emphasize-lines: 4
<indexer>
<enabled>yes</enabled>
<hosts>
<host>https://0.0.0.0:9200</host>
</hosts>
<ssl>
<certificate_authorities>
<ca>/etc/filebeat/certs/root-ca.pem</ca>
</certificate_authorities>
<certificate>/etc/filebeat/certs/filebeat.pem</certificate>
<key>/etc/filebeat/certs/filebeat-key.pem</key>
</ssl>
</indexer>
If you have a Wazuh indexer cluster, add a ``<host>`` entry for each one of your nodes. For example, in a two-nodes configuration:

.. code-block:: xml
<hosts>
<host>https://10.0.0.1:9200</host>
<host>https://10.0.0.2:9200</host>
</hosts>
<hosts>
<host>https://10.0.0.1:9200</host>
<host>https://10.0.0.2:9200</host>
</hosts>
Vulnerability detection prioritizes reporting to the first node in the list. It switches to the next node in case it's not available.

.. End of include file
8 changes: 5 additions & 3 deletions source/installation-guide/wazuh-server/step-by-step.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ Installing the Wazuh manager
# apt-get -y install wazuh-manager|WAZUH_MANAGER_DEB_PKG_INSTALL|
Configuring the Wazuh manager
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Configuring the Wazuh indexer connection
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. note::
You can skip this step if you are not going to use the vulnerability detection capability.

#. Save the Wazuh indexer username and password into the Wazuh manager keystore using the wazuh-keystore tool:

Expand All @@ -82,7 +84,7 @@ Configuring the Wazuh manager

The default step-by-step installation credentials are ``admin``:``admin``

#. Edit ``/var/ossec/etc/ossec.conf`` to configure the indexer connection. You can skip this step if you are not going to use the vulnerability detection capability.
#. Edit ``/var/ossec/etc/ossec.conf`` to configure the indexer connection.

.. include:: /_templates/installations/manager/configure_indexer_connection.rst

Expand Down

0 comments on commit 43dd71a

Please sign in to comment.