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

Update schema version in monitoring index name #11315

Merged
merged 2 commits into from
Mar 19, 2019

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Mar 19, 2019

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*
    

@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring

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

Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

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

LGTM! Only -7-* indices created!

@ycombinator ycombinator merged commit 55aba20 into elastic:master Mar 19, 2019
ycombinator added a commit to ycombinator/beats that referenced this pull request Mar 19, 2019
* Update schema version in monitoring index name

* Update tests

(cherry picked from commit 55aba20)
@ycombinator ycombinator removed the needs_backport PR is waiting to be backported to other branches. label Mar 19, 2019
@ycombinator ycombinator deleted the mb-monitoring-update-version branch March 19, 2019 17:52
ycombinator added a commit that referenced this pull request Mar 20, 2019
…name (#11320)

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*
   ```
@ycombinator ycombinator added the needs_backport PR is waiting to be backported to other branches. label Apr 3, 2019
@ycombinator ycombinator removed the needs_backport PR is waiting to be backported to other branches. label Jan 15, 2020
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.

4 participants