Dear Wazuh Support Team,
I recently upgraded Wazuh from version 4.10.1 to 4.12 as per the instructions in the official documentation.
After completing the upgrade, I started encountering the following issue in Wazuh Dashboards: Jun 05 09:49:16 wazuh-server opensearch-dashboards[4694]: {"type":"log","@timestamp":"2025-06-05T02:49:16Z","tags":["info","savedobjects-service"],"pid":4694,"message":"Detected mapping change in \"properties.query\""}
It appears that after the upgrade, Wazuh Dashboards detected a mapping change in the "properties.query" field, which is causing issues with the dashboards loading properly. The error message indicates that the OpenSearch Dashboards is attempting to apply an invalid change in the mapping configuration.
Additional Details:I have not made any manual changes to the index mappings or OpenSearch configurations.
This issue started occurring immediately after upgrading from version 4.10.1 to 4.12.
Wazuh Dashboards is failing to initialize, and I cannot access the dashboards to perform further troubleshooting.
Could you please assist me with the following?
Confirm if this is a known issue after upgrading to version 4.12 and whether there are any specific steps to resolve it.
Provide guidance on how to fix the mapping change issue, or if restoring the previous configuration is necessary.
If applicable, are there any specific patches or updates available for version 4.12 to prevent this issue from affecting the system in the future?
I would greatly appreciate your assistance in resolving this matter as soon as possible.
Thank you for your time and support.
Hi,
When upgrading, Kibana creates a new version of the .kibana_N index and sets an alias to .kibana. In some cases, this migration process can become corrupted, which may be why your Wazuh Dashboard failed to start. You can read more about Kibana upgrade migrations in the official documentation:
https://www.elastic.co/guide/en/kibana/current/upgrade-migrations.html
To resolve this issue, you can follow the below steps:
Check Wazuh Dashboard Logs, run the following command to check for relevant errors:
journalctl -u wazuh-dashboard | grep -iE "kibana|error|warn|crit|fatal"
If you see a message similar to the one below:
"message":"[resource_already_exists_exception]: index [.kibana_N/**********] already exists"
Verify .kibana Aliases in the Indexer, run this command to list Kibana-related indices:
Delete the problematic index mentioned in the error log: