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

Introduce beat version in index and template #3527

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

ruflin
Copy link
Member

@ruflin ruflin commented Feb 3, 2017

This adds the beat version to the index and the template. The advantage of this is that an index always has the correct template applied based on the beats version. Currently during upgrade it must be waited until the next day. Only then the new template is applied. Also it helps in case different versions of beats are running in parallel. Each beat puts its data into the correct index.

The index name is now beatname-%{[beat.version]}-%{+yyyy.MM.dd} by default.

This should not have any affects on the dashboards or Kibana in general as beatname-* still applies to all data. Are there some potential side affects of this?

@ruflin ruflin added discuss Issue needs further discussion. in progress Pull request is currently in progress. libbeat labels Feb 3, 2017
@ruflin ruflin force-pushed the index-versioninig branch 3 times, most recently from b9b3e43 to 20f5f1f Compare February 20, 2017 12:27
@ruflin ruflin added review and removed discuss Issue needs further discussion. in progress Pull request is currently in progress. labels Feb 20, 2017
This adds the beat version to the index and the template. The advantage of this is that an index always has the correct template applied based on the beats version. Currently during upgrade it must be waited until the next day. Only then the new template is applied. Also it helps in case different versions of beats are running in parallel. Each beat puts its data into the correct index.

The index name is now `beatname-%{[beat.version]}-%{+yyyy.MM.dd}` by default.

This should not have any affects on the dashboards or Kibana in general as `beatname-*` still applies to all data. Are there some potential side affects of this?
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