Skip to content

Commit 6e4cb3d

Browse files
authored
[Stack Monitoring] Switch cgroup memory fields to keyword (#88260)
Per https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html they should be strings.
1 parent 2133c4a commit 6e4cb3d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docs/changelog/88260.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 88260
2+
summary: "[Stack Monitoring] Switch cgroup memory fields to keyword"
3+
area: Monitoring
4+
type: bug
5+
issues: []

x-pack/plugin/core/src/main/resources/monitoring-es-mb.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,14 +732,16 @@
732732
"usage": {
733733
"properties": {
734734
"bytes": {
735-
"type": "long"
735+
"ignore_above": 1024,
736+
"type": "keyword"
736737
}
737738
}
738739
},
739740
"limit": {
740741
"properties": {
741742
"bytes": {
742-
"type": "long"
743+
"ignore_above": 1024,
744+
"type": "keyword"
743745
}
744746
}
745747
}

0 commit comments

Comments
 (0)