Be able to add template as a part of index creation action
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 627
- PR merge metrics
- No merged PRs in 30d
Description
Here is the use case:
* Logging use case with time based indices
* ES indices are pre-created a few days ahead to avoid shard migrations while indexing.
* Mappings for the indices are known at the time of creation.
* Templates may be needed to adjust/resolve fields/datatypes conflicts
* Template files are generated externally.
Feature:
To be able to add templates as a part of create index action. Just to be able to specify the location of the template and the name of the template. This may be a subset of https://github.com/elastic/curator/issues/515
Contributor guide
Research direction
The issue identifies the create index action and externally generated template files; begin by locating that action and tracing how index names and mappings are passed to Elasticsearch. Confirm how a template location and name could be supplied, with completion meaning the selected template is applied during index creation. No specific file or test is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, python
- Domain
- cli, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100