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

[7.x] Add default composable templates for new indexing strategy (#57629) #58757

Merged
merged 11 commits into from
Jul 1, 2020

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Jun 30, 2020

Backports the following commits to 7.x:

…7629)

This commit adds the component and composable templates, as well as ILM policies, for the new
default indexing strategy. It installs:

- logs-default-mappings (component)
- logs-default-settings (component)
- logs-default-policy (ilm policy)
- logs-default-template (composable template)
- metrics-default-mappings (component)
- metrics-default-settings (component)
- metrics-default-policy (ilm policy)
- metrics-default-template (composable template)

These templates and policies are managed by a new x-pack module, `stack`, and can be disabled by
setting `stack.templates.enabled` to `false`.

These ensure that patterns for the `logs-*-*` and `metrics-*-*` indices are set up to create data
streams with the proper mappings and settings.

This also makes changes to the `IndexTemplateRegistry` to support installing component and
composable templates (previously it supported only legacy templates).

Resolves elastic#56709
@dakrone dakrone added backport :Data Management/Indices APIs APIs to create and manage indices and templates v7.9.0 labels Jun 30, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jun 30, 2020
@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine run elasticsearch-ci/2

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine run elasticsearch-ci/2

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine run elasticsearch-ci/2

2 similar comments
@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine run elasticsearch-ci/2

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine run elasticsearch-ci/2

@dakrone
Copy link
Member Author

dakrone commented Jun 30, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Jul 1, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Jul 1, 2020

@elasticmachine run elasticsearch-ci/2

@dakrone
Copy link
Member Author

dakrone commented Jul 1, 2020

@elasticmachine update branch

@dakrone dakrone merged commit d3d03fc into elastic:7.x Jul 1, 2020
@dakrone dakrone deleted the backport/7.x/pr-57629 branch July 1, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants