diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 72cbf1aaa2c..fffe04081d3 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -105,6 +105,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Remove `index_stats.created` field from Elasticsearch/index Metricset {pull}25113[25113] - Adjust host fields to adopt new names from 1.9.0 ECS. {pull}24312[24312] - Add replicas.ready field to state_statefulset in Kubernetes module{pull}26088[26088] +- Fix Elasticsearch jvm.gc.collectors.old being exposed as young {issue}19636[19636] {pull}26616[26616] *Packetbeat* diff --git a/metricbeat/module/elasticsearch/node_stats/data_xpack.go b/metricbeat/module/elasticsearch/node_stats/data_xpack.go index e4efeb3b8e8..40e9f9f967f 100644 --- a/metricbeat/module/elasticsearch/node_stats/data_xpack.go +++ b/metricbeat/module/elasticsearch/node_stats/data_xpack.go @@ -134,7 +134,7 @@ var ( "collection_count": c.Int("collection_count"), "collection_time_in_millis": c.Int("collection_time_in_millis"), }), - "old": c.Dict("young", s.Schema{ + "old": c.Dict("old", s.Schema{ "collection_count": c.Int("collection_count"), "collection_time_in_millis": c.Int("collection_time_in_millis"), }),