Hi Micah,
The cause of the error is that the Wazuh dashboard is doing some operations, like aggregations or sorting, on string fields not mapped as keyword.
The thing is that the keyword is already the default mapping in the standard Wazuh template for manager.name
Can you please check if you have the standard Wazuh template in place?
Check this file on the Wazuh Manager’s server /etc/filebeat/wazuh-template.json
You should find a configuration like this.
"manager": {
"properties": {
"name": {
"type": "keyword"
}
}
},
Please check the template as it exists in the Wazuh indexer cluster state by using the following API call against the Wazuh Indexer. It should resemble what you have in the wazuh-template.json file.
GET /_template/wazuh
The following lines should be there
"settings": {
"index": {
"mapping": {
"total_fields": {
"limit": "10000"
}
},
—----------------
"manager": {
"properties": {
"name": {
"type": "keyword"
}
}
},
If you don't see sections like this with "10000" and "keyword" then it appears either your wazuh-template.json file is not being pushed to the indexer, or you have some other template that is overriding the wazuh template.
Also, please run the following command at Indexer Management > Dev Tools :
GET /_cat/templates?v
With this, you will be able to see all of your templates
And run this command to check if the manager.name field is mapped as a keyword for the affected indices.
GET /wazuh-alerts-<affectedindicedate>/_mapping/field/manager.name
If the field is not mapped as a keyword, try reindexing those indices.
Ex:
Go to Indexer Management > Dev Tools
Make a backup index.
POST _reindex
{
"source": {
"index": "wazuh-alerts-4.x-2026.02.05"
},
"dest": {
"index": "wazuh-alerts-4.x-backup"
}
}
Delete the main index
DELETE /wazuh-alerts-4.x-2026.02.05
Create the main index from back-up
POST _reindex
{
"source": {
"index": "wazuh-alerts-4.x-backup"
},
"dest": {
"index": "wazuh-alerts-4.x-2026.02.05"
}
}
Delete the backup index
DELETE /wazuh-alerts-4.x-backup
Ref:
https://documentation.wazuh.com/current/user-manual/wazuh-indexer/re-indexing.html
--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/e09cc89c-a060-49e0-bcf2-b64e56e0fd4en%40googlegroups.com.
You can remove the custom template you have added and reindex the indices to resolve the search_phase_execution_exception.
Next, you can share the custom template you have added so that we can review it and share feedback.
Looking forward to your update.
Go to Indexer Management > Dev Tools
Remove misconfigured ISM policy from your indices with this command.
POST _plugins/_ism/remove/wazuh-*
Ref: Remove policy from index
Next, reindex the conflict indices one by one following this doc.
Ref: Re-indexing
The steps will be similar to this.
Make a backup index.
POST _reindex
{
"source": {
"index": "wazuh-alerts-4.x-2026.02.05"
},
"dest": {
"index": "wazuh-alerts-4.x-backup"
}
}
Delete the main index
DELETE /wazuh-alerts-4.x-2026.02.05
Create the main index from back-up
POST _reindex
{
"source": {
"index": "wazuh-alerts-4.x-backup"
},
"dest": {
"index": "wazuh-alerts-4.x-2026.02.05"
}
}
Delete the backup index
DELETE /wazuh-alerts-4.x-backup
You can follow this document to make a retention policy with the help of ISM.
https://documentation.wazuh.com/current/user-manual/wazuh-indexer-cluster/index-lifecycle-management.html
If you configure following this document, you do not need to do anything additionally.
Let me know if you need any further assistance on this.