# Adding component templates to existing index templates

**URL:** https://discuss.elastic.co/t/adding-component-templates-to-existing-index-templates/301368
**Category:** Elasticsearch
**Created:** [April 1, 2022, 7:09pm UTC](https://discuss.elastic.co/t/adding-component-templates-to-existing-index-templates/301368 "2022-04-01T19:09:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ARDiver86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ardiver86/32/85266_2.png) [@ARDiver86](https://discuss.elastic.co/u/ARDiver86)
#### Post date: [April 1, 2022, 7:09pm UTC](https://discuss.elastic.co/t/adding-component-templates-to-existing-index-templates/301368/1 "2022-04-01T19:09:56Z")

</div>

How can I apply a new component template to all existing index templates that I have? I know you can supply the "composed\_of" field, but that looks like all of the component templates that should be on the index template and I just want to ADD one.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 29, 2022, 7:10pm UTC](https://discuss.elastic.co/t/adding-component-templates-to-existing-index-templates/301368/2 "2022-04-29T19:10:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
