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 #11315 to 7.0: Update schema version in monitoring index name #11320

Merged
merged 1 commit into from
Mar 20, 2019

Conversation

ycombinator
Copy link
Contributor

Cherry-pick of PR #11315 to 7.0 branch. Original message:

Starting 7.0, Metricbeat Stack Monitoring modules should index data into .monitoring-7-* indices instead of .monitoring-6-*. This PR makes this change.

Testing this PR

  1. Setup monitoring for a stack product, e.g. Elasticsearch, with Metricbeat (built from this PR by running mage build in the metricbeat folder): https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-metricbeat.html
  2. Start Metricbeat.
    metricbeat -e
    
  3. Check that only .monitoring-7-* indices are being created in Elasticsearch, not .monitoring-6-* indices.
    GET _cat/indices/.monitoring*
    

* Update schema version in monitoring index name

* Update tests

(cherry picked from commit 55aba20)
@ycombinator ycombinator requested a review from a team as a code owner March 19, 2019 17:52
@ycombinator ycombinator requested review from ph, jakelandis and a team and removed request for ph March 20, 2019 00:09
Copy link

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ycombinator ycombinator merged commit b2af323 into elastic:7.0 Mar 20, 2019
@ycombinator ycombinator deleted the backport_11315_7.0 branch March 20, 2019 14:44
Copy link
Contributor

@cachedout cachedout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this per the instructions in the body of the PR and observed that no 6.x indices were created.

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.

3 participants