From 8d65b801553ec19edcb4affa4d91e91a5accd93a Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Tue, 8 Dec 2020 13:41:31 +0800 Subject: [PATCH] [Monitoring] add field mappings for beats cgroups Add field mappings for the cgroups metrics added to beats monitoring in https://github.com/elastic/beats/pull/21113, and required by https://github.com/elastic/kibana/issues/79050. --- .../src/main/resources/monitoring-beats.json | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/x-pack/plugin/core/src/main/resources/monitoring-beats.json b/x-pack/plugin/core/src/main/resources/monitoring-beats.json index a39507ec8a4d9..6f89f036fb526 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-beats.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-beats.json @@ -146,6 +146,91 @@ "properties": { "beat": { "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "id": { + "type": "keyword" + }, + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "type": "long" + } + } + } + } + }, + "stats": { + "properties": { + "periods": { + "type": "long" + }, + "throttled": { + "properties": { + "periods": { + "type": "long" + }, + "ns": { + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "id": { + "type": "keyword" + }, + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + } + } + } + } + }, "cpu": { "properties": { "system": {