From a5428c23eae62c08c2cb6f8a05ba45c87cc97363 Mon Sep 17 00:00:00 2001 From: chrismark Date: Mon, 16 Mar 2020 11:57:32 +0200 Subject: [PATCH] Use max in k8s overview dashboard aggregations 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. Signed-off-by: chrismark --- .../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": {