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

Surface metadata about which index templates use a component template #56256

Closed
cjcenizal opened this issue May 6, 2020 · 3 comments
Closed
Labels
Team:Deployment Management Meta label for Management Experience - Deployment Management team

Comments

@cjcenizal
Copy link
Contributor

cjcenizal commented May 6, 2020

It will be useful to know if a component template is being used by any index templates and, if so, which ones. Users will be able to delete any unused component templates this way, and be able to trace a component template back to where it's being used to gain context around its configuration. We could surface this list of index templates under a composes field, to complement the composed_of field on index templates.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ui (:ES-UI)

@elasticmachine elasticmachine added the Team:Deployment Management Meta label for Management Experience - Deployment Management team label May 6, 2020
@cjcenizal cjcenizal changed the title Surface metadata which index templates use a component template Surface metadata about which index templates use a component template May 6, 2020
@dakrone
Copy link
Member

dakrone commented May 6, 2020

I don't think we should do this, as the information is pretty easily obtainable from listing all index templates. We also tend not to duplicate information about this in other APIs (for instance, we don't list all the indices using an ILM policy when you retrieve a policy)

@cjcenizal
Copy link
Contributor Author

We also tend not to duplicate information about this in other APIs

As a counterpoint, data streams and indices contain references to each other, which is what lead me to think of this option.

the information is pretty easily obtainable from listing all index templates

You're right. We'll implement this solution in Kibana. I'll close this issue for now until we discover any problems with this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Deployment Management Meta label for Management Experience - Deployment Management team
Projects
None yet
Development

No branches or pull requests

3 participants