Skip to content

Commit

Permalink
[ML] Add dynamic templates for anomalies results index (#118845)
Browse files Browse the repository at this point in the history
This PR enables the resolution of field names containing "." after the rollover of the anomalies results index. This way, the object parts of the field name, e.g., for an influencer, will indeed have the object type and can be resolved in search and filter operations.
  • Loading branch information
valeriy42 authored Dec 17, 2024
1 parent 5cb2d28 commit bde485a
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
},
"dynamic_templates" : [
{
"strings_as_keywords" : {
"map_objects": {
"match_mapping_type": "object",
"mapping": {
"type": "object"
}
}
},
{
"non_objects_as_keywords" : {
"match" : "*",
"mapping" : {
"type" : "keyword"
Expand Down

0 comments on commit bde485a

Please sign in to comment.