Hello Derek!
I have tested the guide that you indicate in OpenSUSE Tumbleweed in a vagrant box and I have not had problems with the installation of Elasticsearch, It had installed the version 7.10.2 and not 7.15.0, it may have been some command confusion.
Here I show you some screenshots about it:
OpenDistro install (7.10.2):
Elasticsearch version:
Zypper detect installed package:
In this case, the guide you are using is used to install the four main components on the same machine, that is:
- Wazuh manager
- Elasticsearch
- Filebeat
- Kibana
What does each of them do?
- Wazuh manager: Monitors the machine where it is installed through an embedded agent (which has the ID 000) and manages the agents. It also analyzes the information sent by the agents to create alerts based on the data that the agents send it.
- Filebeat: is used to send the manager alerts in an encrypted way to the Elasticsearch node in real time, that is, the information is transmitted directly from the wazuh analysis engine
- Elasticsearch: stores the alerts sent from the manager and stores them in indexes.
- Kibana: consults these indices and they are displayed in the interface with the help of the Wazuh APP
This would be a very basic explanation of how it works, this is explained in more detail in these links:
Keep in mind that this type of installation (AIO) does not allow the system to be scaled in a simple way, it is designed for a specific and light use of the product. On the other hand we have the distributed system which allows to scale the system very easily, since almost all the components would be in a dedicated machine.
Regarding the users, it is necessary to differentiate the user of the machine and the OpenDistro users, these users are internal users of OpenDistro that are used for the proper functioning of the components, you can consult all the existing internal users in this file:
- /usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
Each of these users has a specific role and by default, their passwords will be the same as those of the username:
- admin: Full access to the cluster and all indices
- kibanaserver: Internal Kibana server user, for configuring elasticsearch.username and elasticsearch.password in kibana.yml. Has all permissions on the .kibana index.
- kibanaro: Regular Kibana user, has READ access to all indices and all permissions on the .kibana index.
- logstash: Logstash and Beats user, has CRUD and CREATE_INDEX permissions on all logstash index.
- readall: Has read access to all indices
- snapshotrestore: Has permissions to perform snapshot and restore operations
You can also find the users:
- wazuh: (similiar to admin, in the future admin will disappear in favor of this user)
- wazuh_admin: It is recommended for users who need administrative privileges.
- wazuh_user: It is created for users who need read-only access to the Wazuh Kibana plugin.
If you are a new user to Wazuh, this may not be the best option to start, since these integrations are external and are embedded in Elastic. In fact I have been doing tests and I have had to add configuration that I have had to rummage from the Elastic forums.
Regarding the passwords, by default its username=password, this can be changed as you have said before through the script, but as I have seen, it seems that there is a problem with said script in openSUSE, since it does not detect that Open Distro is installed although now zypper tell me that it is. For this, I have created this issue:
https://github.com/wazuh/wazuh-packages/issues/916
Regards, Raúl