Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 8, 2018

Conversation

ycombinator
Copy link
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": {
         ...
       }
     }
   }
}

…elastic#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