Skip to content

Commit

Permalink
Remove default_field: message from metrics index templates (elastic…
Browse files Browse the repository at this point in the history
…#110651)

This is a follow-up from
elastic#102456
  • Loading branch information
felixbarny committed Jul 10, 2024
1 parent 6833aa0 commit 85db658
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions docs/changelog/110651.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 110651
summary: "Remove `default_field: message` from metrics index templates"
area: Data streams
type: enhancement
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"total_fields": {
"ignore_dynamic_beyond_limit": true
}
},
"query": {
"default_field": ["message"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"total_fields": {
"ignore_dynamic_beyond_limit": true
}
},
"query": {
"default_field": ["message"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class StackTemplateRegistry extends IndexTemplateRegistry {

// The stack template registry version. This number must be incremented when we make changes
// to built-in templates.
public static final int REGISTRY_VERSION = 11;
public static final int REGISTRY_VERSION = 12;

public static final String TEMPLATE_VERSION_VARIABLE = "xpack.stack.template.version";
public static final Setting<Boolean> STACK_TEMPLATES_ENABLED = Setting.boolSetting(
Expand Down

0 comments on commit 85db658

Please sign in to comment.