Skip to content

Cherry-pick #8445 to 6.x: [Elasticsearch Monitoring] Add cluster_metadata to cluster_stats docs#8990

Merged
ycombinator merged 1 commit intoelastic:6.xfrom
ycombinator:backport_8445_6.x
Nov 8, 2018
Merged

Cherry-pick #8445 to 6.x: [Elasticsearch Monitoring] Add cluster_metadata to cluster_stats docs#8990
ycombinator merged 1 commit intoelastic:6.xfrom
ycombinator:backport_8445_6.x

Conversation

@ycombinator
Copy link
Copy Markdown
Contributor

Cherry-pick of PR #8445 to 6.x branch. Original message:

Porting over elastic/elasticsearch#33860 to the Metricbeat Elasticsearch module (X-Pack Monitoring code path).

This PR teaches Elasticsearch X-Pack Monitoring to collect cluster metadata, if any is set, and index it into cluster_stats docs in .monitoring-es-6-mb-*.

After this PR, cluster_stats docs in .monitoring-es-6-mb-* will contain an additional top-level cluster_settings field like so:

{
   ...
   "cluster_settings": {
     "cluster": {
       "metadata": {
         ...
       }
     }
   }
}

…#8445)

* Add cluster_metadata to cluster_stats docs

* Fixing double nesting

* Only collect display_name (for now)

* Do not index cluster_settings field if there are no cluster settings

* Adding CHANGELOG entry

(cherry picked from commit 29be670)
@ycombinator ycombinator merged commit 31173e8 into elastic:6.x Nov 8, 2018
@ycombinator ycombinator deleted the backport_8445_6.x branch December 25, 2019 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants