Thanks . I am able to correct the certificates , path and other minor misses and have the new setup have wazuh-indexer , wazuh-manager and filebeat are fine.
filebeat tests the output successfully from both indexers , when tested from both servers.
However the dashboard 4.8.0.1 is showing blank .
[root@new-wazuh ~]# systemctl status wazuh-dashboard
× wazuh-dashboard.service - wazuh-dashboard
Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Tue 2024-06-25 09:21:11 EEST; 20s ago
Duration: 6.303s
Process: 49380 ExecStart=/usr/share/wazuh-dashboard/bin/opensearch-dashboards (code=exited, status=1/FAILURE)
Main PID: 49380 (code=exited, status=1/FAILURE)
CPU: 7.251s
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: {"type":"log","@timestamp":"2024-06-25T06:21:11Z","tags":["info","s>
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: {"type":"log","@timestamp":"2024-06-25T06:21:11Z","tags":["info","s>
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: {"type":"log","@timestamp":"2024-06-25T06:21:11Z","tags":["error",">
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: {"type":"log","@timestamp":"2024-06-25T06:21:11Z","tags":["warning">
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: {"type":"log","@timestamp":"2024-06-25T06:21:11Z","tags":["fatal",">
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: {"type":"log","@timestamp":"2024-06-25T06:21:11Z","tags":["info","p>
Jun 25 09:21:11 new-wazuh.novalocal opensearch-dashboards[49380]: FATAL {"error":{"root_cause":[{"type":"index_not_found_exception">
Jun 25 09:21:11 new-wazuh.novalocal systemd[1]: wazuh-dashboard.service: Main process exited, code=exited, status=1/FAILURE
Jun 25 09:21:11 new-wazuh.novalocal systemd[1]: wazuh-dashboard.service: Failed with result 'exit-code'.
Jun 25 09:21:11 new-wazuh.novalocal systemd[1]: wazuh-dashboard.service: Consumed 7.251s CPU time.
Files attached for analysis .
1. Internal or external IP to be used in the opensearch.hosts of /etc/wazuh-dashboard/opensearch_dashboards.yml?
2. Also in the version 4.8.0-1.x86_64 , the mentioned file (in DOC) /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml is missing .
Still the Index file too ??
[root@
new-wazuh ~]# rpm -qa wazuh-dashboard
wazuh-dashboard-4.8.0-1.x86_64
[root@
new-wazuh ~]# rpm -ql wazuh-dashboard |grep wazuh.yml
[root@
new-wazuh ~]#
The file /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml manually copied into , but not working