From 07aec1b7d60388e533bb7644a4ba738f621bfcaa Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Wed, 9 Dec 2020 10:23:48 +0800 Subject: [PATCH] [Monitoring] add field mappings for beats cgroups (#65997) 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": {