From 6f4484c2875a284ad969d8b841a612a034102480 Mon Sep 17 00:00:00 2001 From: Tim Sullivan Date: Thu, 30 Nov 2017 13:33:16 -0700 Subject: [PATCH] [Monitoring] Update Beats Template with Metrics (elastic/x-pack-elasticsearch#2902) * [Monitoring] Update Beats Template with Metrics - remove source_node.timestamp - includes mapping for beat type = Metricbeat * remove metricbeat and xpack objects which are not used in the UI * use long instead of integer type Original commit: elastic/x-pack-elasticsearch@083b9cc5755053ab0e5b6adc1b3554eec9da1109 --- .../src/main/resources/monitoring-beats.json | 134 +++++++++++++++++- 1 file changed, 130 insertions(+), 4 deletions(-) diff --git a/plugin/src/main/resources/monitoring-beats.json b/plugin/src/main/resources/monitoring-beats.json index db72cbdff15..38088493de4 100644 --- a/plugin/src/main/resources/monitoring-beats.json +++ b/plugin/src/main/resources/monitoring-beats.json @@ -37,10 +37,6 @@ }, "name": { "type": "keyword" - }, - "timestamp": { - "type": "date", - "format": "date_time" } } }, @@ -71,6 +67,136 @@ "type": "keyword" } } + }, + "metrics": { + "properties": { + "beat": { + "properties": { + "memstats": { + "properties": { + "gc_next": { + "type": "long" + }, + "memory_alloc": { + "type": "long" + }, + "memory_total": { + "type": "long" + } + } + } + } + }, + "libbeat": { + "properties": { + "config": { + "properties": { + "module": { + "properties": { + "running": { + "type": "long" + }, + "starts": { + "type": "long" + }, + "stops": { + "type": "long" + } + } + }, + "reloads": { + "type": "long" + } + } + }, + "output": { + "properties": { + "events": { + "properties": { + "acked": { + "type": "long" + }, + "active": { + "type": "long" + }, + "batches": { + "type": "long" + }, + "failed": { + "type": "long" + }, + "total": { + "type": "long" + } + } + }, + "read": { + "properties": { + "bytes": { + "type": "long" + }, + "errors": { + "type": "long" + } + } + }, + "type": { + "type": "keyword" + }, + "write": { + "properties": { + "bytes": { + "type": "long" + }, + "errors": { + "type": "long" + } + } + } + } + }, + "pipeline": { + "properties": { + "clients": { + "type": "long" + }, + "events": { + "properties": { + "active": { + "type": "long" + }, + "dropped": { + "type": "long" + }, + "failed": { + "type": "long" + }, + "filtered": { + "type": "long" + }, + "published": { + "type": "long" + }, + "retry": { + "type": "long" + }, + "total": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "acked": { + "type": "long" + } + } + } + } + } + } + } + } } } }