Hi all,
I guess this might be a noob problem but I'm still not sure how to solve it.
A couple weeks after update to 4.1 we get the following error in kibana:
Error:
2 of 1227 shards failed
The data you are seeing might be incomplete or wrong.
Detail:
"failures": [
{
"shard": 0,
"index": "wazuh-alerts-3.x-2021.03.23",
"node": "",
"reason": {
"type": "illegal_argument_exception",
"reason": "Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [rule.mitre.technique] in order to load field data by uninverting the inverted index. Note that this can use significant memory."
}
The wazuh-template is 4.0 and I have checked for the indices
{
"wazuh" : {
"order" : 0,
"version" : 1,
"index_patterns" : [
"wazuh-alerts-4.x-*",
"wazuh-archives-4.x-*"
..........
This behavior did not occur right after the upgrade vom 3.x to 4.x.
Can you tell me what went wrong and why index pattern 3.x is loaded along 4.x which is set to default?
Thanks a lot in advance. :)