From b4c335257cc28eb8fdfa978dce0ec3aa94a24db1 Mon Sep 17 00:00:00 2001 From: Mario Castro Date: Tue, 8 Jan 2019 14:07:14 +0100 Subject: [PATCH] Cherry-pick #9795 to 6.x: Replace missing field names from status Metricset in MongoDB Dashboard (#9945) Replace missing field names from status Metricset in MongoDB Dashboard (#9795) --- CHANGELOG.next.asciidoc | 1 + .../6/dashboard/Metricbeat-mongodb-overview.json | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index b6b1f2051378..5884c5563744 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -84,6 +84,7 @@ https://github.com/elastic/beats/compare/v6.6.0...6.x[Check the HEAD diff] - Fix issue with not collecting Elasticsearch cross-cluster replication stats correctly. {pull}9179[9179] - The `node.name` field in the `elasticsearch/node` metricset now correctly reports the Elasticsarch node name. Previously this field was incorrectly reporting the node ID instead. {pull}9209[9209] - Fix issue preventing diskio metrics collection for idle disks. {issue}9124[9124] {pull}9125[9125] +- Fix MongoDB dashboard that had some incorrect field names from `status` Metricset {pull}9795[9795] {issue}9715[9715] *Packetbeat* diff --git a/metricbeat/module/mongodb/_meta/kibana/6/dashboard/Metricbeat-mongodb-overview.json b/metricbeat/module/mongodb/_meta/kibana/6/dashboard/Metricbeat-mongodb-overview.json index 0f671ffc303d..3916d588c72e 100644 --- a/metricbeat/module/mongodb/_meta/kibana/6/dashboard/Metricbeat-mongodb-overview.json +++ b/metricbeat/module/mongodb/_meta/kibana/6/dashboard/Metricbeat-mongodb-overview.json @@ -180,7 +180,7 @@ "id": "1", "params": { "customLabel": "command", - "field": "mongodb.status.opcounters.command" + "field": "mongodb.status.ops.counters.command" }, "schema": "metric", "type": "avg" @@ -203,7 +203,7 @@ "id": "3", "params": { "customLabel": "delete", - "field": "mongodb.status.opcounters.delete" + "field": "mongodb.status.ops.counters.delete" }, "schema": "metric", "type": "avg" @@ -213,7 +213,7 @@ "id": "4", "params": { "customLabel": "getmore", - "field": "mongodb.status.opcounters.getmore" + "field": "mongodb.status.ops.counters.getmore" }, "schema": "metric", "type": "avg" @@ -223,7 +223,7 @@ "id": "5", "params": { "customLabel": "insert", - "field": "mongodb.status.opcounters.insert" + "field": "mongodb.status.ops.counters.insert" }, "schema": "metric", "type": "avg" @@ -233,7 +233,7 @@ "id": "6", "params": { "customLabel": "query", - "field": "mongodb.status.opcounters.query" + "field": "mongodb.status.ops.counters.query" }, "schema": "metric", "type": "avg" @@ -243,7 +243,7 @@ "id": "7", "params": { "customLabel": "update", - "field": "mongodb.status.opcounters_replicated.update" + "field": "mongodb.status.ops.replicated.update" }, "schema": "metric", "type": "avg"