From bc8e1c567ed45eb939d8dff16457075c05dcf880 Mon Sep 17 00:00:00 2001 From: Kevin Lacabane Date: Thu, 30 Mar 2023 13:46:15 +0200 Subject: [PATCH] [elasticsearch] ingest ccr remote_cluster (#34957) * ingest ccr remote_cluster * changelog --- CHANGELOG.next.asciidoc | 1 + metricbeat/module/elasticsearch/ccr/data.go | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index d7b634384357..edcacb2c9c5a 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -158,6 +158,7 @@ automatic splitting at root level, if root level element is an array. {pull}3415 - Fix metrics split through different events and metadata not matching for aws cloudwatch. {pull}34483[34483] - Fix metadata enricher with correct container ids for pods with multiple containers in container metricset. Align `kubernetes.container.id` and `container.id` fields for state_container metricset. {pull}34516[34516] - Make generic SQL GA {pull}34637[34637] +- Collect missing remote_cluster in elasticsearch ccr metricset {pull}34957[34957] *Osquerybeat* diff --git a/metricbeat/module/elasticsearch/ccr/data.go b/metricbeat/module/elasticsearch/ccr/data.go index 5d355ff45f0a..3f917b3f6bda 100644 --- a/metricbeat/module/elasticsearch/ccr/data.go +++ b/metricbeat/module/elasticsearch/ccr/data.go @@ -34,6 +34,7 @@ import ( var ( schema = s.Schema{ + "remote_cluster": c.Str("remote_cluster"), "leader": s.Object{ "index": c.Str("leader_index"), "max_seq_no": c.Int("leader_max_seq_no"),