From 43dd71a1425ecb8c75b548200c01fb42ea6b884d Mon Sep 17 00:00:00 2001 From: pereyra-m Date: Wed, 3 Apr 2024 15:30:26 -0300 Subject: [PATCH] Fixing alignment and improving sentences after review --- .../manager/configure_indexer_connection.rst | 46 ++++++++++--------- .../wazuh-server/step-by-step.rst | 8 ++-- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/source/_templates/installations/manager/configure_indexer_connection.rst b/source/_templates/installations/manager/configure_indexer_connection.rst index 927b94f225..ffcdac5db0 100644 --- a/source/_templates/installations/manager/configure_indexer_connection.rst +++ b/source/_templates/installations/manager/configure_indexer_connection.rst @@ -1,31 +1,33 @@ .. Copyright (C) 2015, Wazuh, Inc. -By default, the host is set to localhost: ``https://0.0.0.0:9200``. 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 - - - yes - - https://0.0.0.0:9200 - - - - /etc/filebeat/certs/root-ca.pem - - /etc/filebeat/certs/filebeat.pem - /etc/filebeat/certs/filebeat-key.pem - - - -If you have more than one Wazuh indexer node, add all the required ```` 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 + + + yes + + https://0.0.0.0:9200 + + + + /etc/filebeat/certs/root-ca.pem + + /etc/filebeat/certs/filebeat.pem + /etc/filebeat/certs/filebeat-key.pem + + + +If you have a Wazuh indexer cluster, add a ```` entry for each one of your nodes. For example, in a two-nodes configuration: .. code-block:: xml - - https://10.0.0.1:9200 - https://10.0.0.2:9200 - + + https://10.0.0.1:9200 + https://10.0.0.2:9200 + + +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 diff --git a/source/installation-guide/wazuh-server/step-by-step.rst b/source/installation-guide/wazuh-server/step-by-step.rst index e9ecbb3853..d8d977fda5 100644 --- a/source/installation-guide/wazuh-server/step-by-step.rst +++ b/source/installation-guide/wazuh-server/step-by-step.rst @@ -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: @@ -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