From 1db044487726833ee5a63f98904326d705707c46 Mon Sep 17 00:00:00 2001 From: Valentin Crettaz Date: Wed, 5 Mar 2025 19:51:31 +0100 Subject: [PATCH] [REVERT] Update Stack Monitoring data stream to 9 (#43052) --- metricbeat/helper/elastic/elastic.go | 2 +- metricbeat/helper/elastic/elastic_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/metricbeat/helper/elastic/elastic.go b/metricbeat/helper/elastic/elastic.go index 4af3871356c4..59626c6e8219 100644 --- a/metricbeat/helper/elastic/elastic.go +++ b/metricbeat/helper/elastic/elastic.go @@ -82,7 +82,7 @@ func (p Product) String() string { // MakeXPackMonitoringIndexName method returns the name of the monitoring index for // a given product { elasticsearch, kibana, logstash, beats } func MakeXPackMonitoringIndexName(product Product) string { - const version = "9" + const version = "8" return fmt.Sprintf(".monitoring-%v-%v-mb", product.xPackMonitoringIndexString(), version) } diff --git a/metricbeat/helper/elastic/elastic_test.go b/metricbeat/helper/elastic/elastic_test.go index e6939cd42583..44416b469803 100644 --- a/metricbeat/helper/elastic/elastic_test.go +++ b/metricbeat/helper/elastic/elastic_test.go @@ -38,22 +38,22 @@ func TestMakeXPackMonitoringIndexName(t *testing.T) { { "Elasticsearch monitoring index", Elasticsearch, - ".monitoring-es-9-mb", + ".monitoring-es-8-mb", }, { "Kibana monitoring index", Kibana, - ".monitoring-kibana-9-mb", + ".monitoring-kibana-8-mb", }, { "Logstash monitoring index", Logstash, - ".monitoring-logstash-9-mb", + ".monitoring-logstash-8-mb", }, { "Beats monitoring index", Beats, - ".monitoring-beats-9-mb", + ".monitoring-beats-8-mb", }, }