From 149d3ce9032c328d987db8f75903245df58bbcc1 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Sun, 25 Nov 2018 17:47:30 -0800 Subject: [PATCH] Moving node ID and name fields to module level --- metricbeat/docs/fields.asciidoc | 40 +++++++++---------- .../module/elasticsearch/_meta/fields.yml | 10 +++++ metricbeat/module/elasticsearch/fields.go | 2 +- .../elasticsearch/node/_meta/fields.yml | 4 -- .../elasticsearch/node_stats/_meta/fields.yml | 4 -- 5 files changed, 31 insertions(+), 29 deletions(-) diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index c072145d8ff..54a1df4c170 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -5389,6 +5389,26 @@ type: keyword Elasticsearch state id. +-- + +*`elasticsearch.node.id`*:: ++ +-- +type: keyword + +Node ID + + +-- + +*`elasticsearch.node.name`*:: ++ +-- +type: keyword + +Node name. + + -- [float] @@ -5928,16 +5948,6 @@ node -*`elasticsearch.node.name`*:: -+ --- -type: keyword - -Node name. - - --- - *`elasticsearch.node.version`*:: + -- @@ -6030,16 +6040,6 @@ Node -*`elasticsearch.node.id`*:: -+ --- -type: keyword - -Node ID - - --- - [float] == stats fields diff --git a/metricbeat/module/elasticsearch/_meta/fields.yml b/metricbeat/module/elasticsearch/_meta/fields.yml index 6824317ff74..d457c6f0d43 100644 --- a/metricbeat/module/elasticsearch/_meta/fields.yml +++ b/metricbeat/module/elasticsearch/_meta/fields.yml @@ -24,3 +24,13 @@ type: keyword description: > Elasticsearch state id. + + - name: node.id + type: keyword + description: > + Node ID + + - name: node.name + type: keyword + description: > + Node name. diff --git a/metricbeat/module/elasticsearch/fields.go b/metricbeat/module/elasticsearch/fields.go index d8d505c3a4d..8155f4b21fa 100644 --- a/metricbeat/module/elasticsearch/fields.go +++ b/metricbeat/module/elasticsearch/fields.go @@ -31,5 +31,5 @@ func init() { // Asset returns asset data func Asset() string { - return "eJzsXN1u2zoSvvd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mJjDuti2Du/nIZj+/xy+ATTy7CvmB2kQzUk9mw31FTpH3GntLM/yDroVpJeQ2bNHGVSsokz3Zb7cuiz0o9Odsm6UihMbhBB+/kPS5skQx7tYgr7t3g7XA397oZBgVtXsPVH7upve6D61DMkD2+M+1ckD8PJx2/P+E4BPtQDtlt6Ywp8Lxq4njq3lXkLoUmy9P9W/CVPL3l6WgV+/zzVudrQjQy92jBRqn4rES7ZesnW0yrwu2VrR4e+SqJEMoaJkWriLv3zR9iJbsvTQT16xTC8tzphu/6CA6tkTFFpn3xhWEgMorwrYaOirxdqrxN7FV8UTdnFGx/6MnipAzeYfKwjU/cTZQh6qw1yaAPoT113L+Kseyw7OykcsU0yIRGyIZSRBTsHm/qrexmKlIpVbIh+mNXhD9iT/hES+AMSKQyhQgOB8gHYB74kP6mPOj8XGpWJpWp7afvwk9tbJxKaIr2relJRE74VfMzJdUDc/tXIINKIW5ERfJIK8JnwjFmFcnPDSZbRGvW912ipiB9zzLH5/uzRR+SUuz1EJ7YRo/U3ew8OyvKFYRc8I6PsZNfAzZpqoNrtqQ64Eh58dXyaGwqOSfdt9CmvjdyvsfwTFwOwFTKZEGMLS+ivU0xAxd0S9t6aJ7oCLV/XjmZ/BwAA//8kaNL2" } diff --git a/metricbeat/module/elasticsearch/node/_meta/fields.yml b/metricbeat/module/elasticsearch/node/_meta/fields.yml index 1874c97162d..c1fc72631ad 100644 --- a/metricbeat/module/elasticsearch/node/_meta/fields.yml +++ b/metricbeat/module/elasticsearch/node/_meta/fields.yml @@ -4,10 +4,6 @@ node release: beta fields: - - name: name - type: keyword - description: > - Node name. - name: version type: keyword description: > diff --git a/metricbeat/module/elasticsearch/node_stats/_meta/fields.yml b/metricbeat/module/elasticsearch/node_stats/_meta/fields.yml index 5768004d885..1b165983054 100644 --- a/metricbeat/module/elasticsearch/node_stats/_meta/fields.yml +++ b/metricbeat/module/elasticsearch/node_stats/_meta/fields.yml @@ -4,10 +4,6 @@ Node release: beta fields: - - name: id - type: keyword - description: > - Node ID - name: stats type: group description: >