Hello Isaac,
Apologies for the late response. Are you still experiencing this issue? What you need to do is to update the index template to explicitly map data.audit.readable_time as a date field, so new indices inherit the correct mapping from the start.
Run this in the Dev Tools to see the conflicting mapping types:
GET wazuh-alerts-*/_mapping/field/data.audit.readable_time
Then update the index template to explicitly declare data.audit.readable_time as a date type. This ensures every new index created from today gets that mapping:
PUT _index_template/wazuh
{
"index_patterns": ["wazuh-alerts-4.x-*"],
"priority": 1,
"template": {
"mappings": {
"properties": {
"data": {
"properties": {
"audit": {
"properties": {
"readable_time": {
"type": "date"
},
"epoch": {
"type": "keyword"
}
}
}
}
}
}
}
}
}
Reindex each conflicting index into a temporary index with a corrected name, then swap back. Repeat this for each affected index you mentioned
POST _reindex
{
"source": {
"index": "wazuh-alerts-4.x-2026.05.25"
},
"dest": {
"index": "wazuh-alerts-4.x-2026.05.25-fixed"
}
}
Once the reindex completes and you verify the data is correct, delete the old index and create an alias pointing to the fixed one:
DELETE wazuh-alerts-4.x-2026.05.25
POST _aliases
{
"actions": [
{
"add": {
"index": "wazuh-alerts-4.x-2026.05.25-fixed",
"alias": "wazuh-alerts-4.x-2026.05.25"
}
}
]
}
Reload and verify this:
filebeat setup --pipelines
systemctl restart filebeat
Please let me how this goes.
Regards