Hi Anthony!
I've make the change on the file "/etc/wazuh-dashboard/opensearch_dashboards.yml", restart the services in order:
sudo systemctl start wazuh-manager
sudo systemctl start wazuh-dashboard
sudo systemctl start wazuh-indexer
Above are the last lines in the output the command "journalctl -u wazuh-dashboard | grep -i -E "error|warning" but the problem continue
ago 26 05:00:58 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:00:58Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:00:58 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:00:58Z","tags":["warning","savedobjects-service"],"pid":20966,"message":"Unable to connect to OpenSearch. Error: search_phase_execution_exception: "}
ago 26 05:01:01 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:01Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:04 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:04Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:06 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:06Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:09 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:09Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:11 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:11Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:14 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:14Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:16 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:16Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:19 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:19Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:21 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:21Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:24 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:24Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:26 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:26Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:29 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:29Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:31 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:31Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:34 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:34Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:36 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:36Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:39 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:39Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:41 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:41Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 05:01:44 wazuh-server opensearch-dashboards[20966]: {"type":"log","@timestamp":"2024-08-26T08:01:44Z","tags":["error","opensearch","data"],"pid":20966,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:10:45 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:10:45Z","tags":["warning","config","deprecation"],"pid":12148,"message":"It is not recommended to disable xsrf protections for API endpoints via [server.xsrf.whitelist]. Instead, supply the \"osd-xsrf\" header."}
ago 26 10:10:50 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:10:50Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:10:50 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:10:50Z","tags":["warning","savedobjects-service"],"pid":12148,"message":"Unable to connect to OpenSearch. Error: search_phase_execution_exception: "}
ago 26 10:10:53 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:10:53Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:10:55 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:10:55Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:10:58 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:10:58Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:11:00 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:00Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:11:03 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:03Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:11:05 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:05Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:11:08 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:08Z","tags":["error","opensearch","data"],"pid":12148,"message":"[search_phase_execution_exception]: all shards failed"}
ago 26 10:11:11 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:11Z","tags":["error","opensearch","data"],"pid":12148,"message":"[resource_already_exists_exception]: index [.kibana_3/l8vrmaR_R3G2OZCDZnce-w] already exists"}
ago 26 10:11:11 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:11Z","tags":["warning","savedobjects-service"],"pid":12148,"message":"Unable to connect to OpenSearch. Error: resource_already_exists_exception: [resource_already_exists_exception] Reason: index [.kibana_3/l8vrmaR_R3G2OZCDZnce-w] already exists"}
ago 26 10:11:11 wazuh-server opensearch-dashboards[12148]: {"type":"log","@timestamp":"2024-08-26T13:11:11Z","tags":["warning","savedobjects-service"],"pid":12148,"message":"Another OpenSearch Dashboards instance appears to be migrating the index. Waiting for that migration to complete. If no other OpenSearch Dashboards instance is attempting migrations, you can get past this message by deleting index .kibana_3 and restarting OpenSearchDashboards."}