Skip to content

Commit

Permalink
tier_preference and creation_date fields in monitoring template (elas…
Browse files Browse the repository at this point in the history
…tic#117851)

* tier_preference and creation_date fields in monitoring template

* Added index version

* Update docs/changelog/117851.yaml

* Updated changelog

* Incremented STACK_MONITORING_REGISTRY_VERSION
  • Loading branch information
3kt authored Dec 16, 2024
1 parent f2e5430 commit e6a27a9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/changelog/117851.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 117851
summary: Addition of `tier_preference`, `creation_date` and `version` fields in Elasticsearch monitoring template
area: Monitoring
type: enhancement
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,17 @@
"ignore_above": 1024,
"type": "keyword"
},
"tier_preference": {
"ignore_above": 1024,
"type": "keyword"
},
"creation_date": {
"type": "date"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
},
"recovery": {
"properties": {
"stop_time": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class MonitoringTemplateRegistry extends IndexTemplateRegistry {
* writes monitoring data in ECS format as of 8.0. These templates define the ECS schema as well as alias fields for the old monitoring
* mappings that point to the corresponding ECS fields.
*/
public static final int STACK_MONITORING_REGISTRY_VERSION = 8_00_00_99 + 18;
public static final int STACK_MONITORING_REGISTRY_VERSION = 8_00_00_99 + 19;
private static final String STACK_MONITORING_REGISTRY_VERSION_VARIABLE = "xpack.stack.monitoring.template.release.version";
private static final String STACK_TEMPLATE_VERSION = "8";
private static final String STACK_TEMPLATE_VERSION_VARIABLE = "xpack.stack.monitoring.template.version";
Expand Down

0 comments on commit e6a27a9

Please sign in to comment.