From 652426cf93fde176cb3a08a58b2b9f64130fc2f8 Mon Sep 17 00:00:00 2001 From: Chris Mark Date: Wed, 18 Mar 2020 10:14:22 +0200 Subject: [PATCH] Use max in k8s overview dashboard aggregations (#17015) (#17052) We should not be using a sum on kubernetes.pod.network.rx.bytes, kubernetes.pod.network.tx.bytes, and kubernetes.container.cpu.usage.core.ns; these fields are counters. (cherry picked from commit 0a2b3f48efb2ab2d62c0ea12ccddb5f819044ae0) --- .../7/dashboard/Metricbeat-kubernetes-overview.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/metricbeat/module/kubernetes/_meta/kibana/7/dashboard/Metricbeat-kubernetes-overview.json b/metricbeat/module/kubernetes/_meta/kibana/7/dashboard/Metricbeat-kubernetes-overview.json index 47946b3c002..b3341000c45 100644 --- a/metricbeat/module/kubernetes/_meta/kibana/7/dashboard/Metricbeat-kubernetes-overview.json +++ b/metricbeat/module/kubernetes/_meta/kibana/7/dashboard/Metricbeat-kubernetes-overview.json @@ -543,7 +543,7 @@ { "field": "kubernetes.pod.network.rx.bytes", "id": "0d5c9221-2bf2-11e7-859b-f78b612cde28", - "type": "sum" + "type": "max" }, { "field": "0d5c9221-2bf2-11e7-859b-f78b612cde28", @@ -578,7 +578,7 @@ "id": "16fa4470-2bfd-11e7-859b-f78b612cde28-ecs", "type": "visualization", "updated_at": "2018-03-01T18:58:07.906Z", - "version": 3 + "version": 4 }, { "attributes": { @@ -637,7 +637,7 @@ { "field": "kubernetes.pod.network.tx.bytes", "id": "0d5c9221-2bf2-11e7-859b-f78b612cde28", - "type": "sum" + "type": "max" }, { "field": "0d5c9221-2bf2-11e7-859b-f78b612cde28", @@ -672,7 +672,7 @@ "id": "294546b0-30d6-11e7-8df8-6d3604a72912-ecs", "type": "visualization", "updated_at": "2018-03-01T18:58:07.906Z", - "version": 3 + "version": 4 }, { "attributes": { @@ -797,7 +797,7 @@ { "field": "kubernetes.container.cpu.usage.core.ns", "id": "5d3692a2-2bfc-11e7-859b-f78b612cde28", - "type": "sum" + "type": "max" }, { "field": "5d3692a2-2bfc-11e7-859b-f78b612cde28", @@ -834,7 +834,7 @@ "id": "58e644f0-30d6-11e7-8df8-6d3604a72912-ecs", "type": "visualization", "updated_at": "2018-03-01T18:58:07.906Z", - "version": 3 + "version": 4 }, { "attributes": {