# Node level index templates

**URL:** <https://discuss.elastic.co/t/node-level-index-templates/5286>\
**Category:** Elasticsearch\
**Created:** [August 31, 2011, 10:45am UTC](https://discuss.elastic.co/t/node-level-index-templates/5286 "2011-08-31T10:45:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattias\_Nordberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattias_nordberg/32/3131_2.png) [@Mattias\_Nordberg](https://discuss.elastic.co/u/Mattias_Nordberg)\
**Post date:** [August 31, 2011, 10:45am UTC](https://discuss.elastic.co/t/node-level-index-templates/5286/1 "2011-08-31T10:45:31Z")

</div>

Hi,

Having read the guides about creating index templates over the API, I  
haven't managed to find anything explaining how to configure them at  
the node level. This was nicely covered for mappings, and I tried a  
similar approach for index templates hoping there was perhaps a  
pattern, but to no avail.

Is this something that is even possible or am I forced to create them  
over the API?

Many thanks  
Mattias

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 31, 2011, 11:14am UTC](https://discuss.elastic.co/t/node-level-index-templates/5286/2 "2011-08-31T11:14:03Z")

</div>

There isn't an option to define index templates in the "config" (nor for  
that matter index settings), it can only be defined through an API. Node  
level is misleading though, the configuration is used where the index ends  
up being created in the cluster, which is the (elected) master node.

On Wed, Aug 31, 2011 at 1:45 PM, Mattias Nordberg \<  
[mattias.nordberg@gmail.com](mailto:mattias.nordberg@gmail.com)\> wrote:

> Hi,
> 
> Having read the guides about creating index templates over the API, I  
> haven't managed to find anything explaining how to configure them at  
> the node level. This was nicely covered for mappings, and I tried a  
> similar approach for index templates hoping there was perhaps a  
> pattern, but to no avail.
> 
> Is this something that is even possible or am I forced to create them  
> over the API?
> 
> Many thanks  
> Mattias

---

<div class="post-metadata">

**Author:** ![Mattias\_Nordberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattias_nordberg/32/3131_2.png) [@Mattias\_Nordberg](https://discuss.elastic.co/u/Mattias_Nordberg)\
**Post date:** [August 31, 2011, 11:47am UTC](https://discuss.elastic.co/t/node-level-index-templates/5286/3 "2011-08-31T11:47:33Z")

</div>

Thanks for the quick reply.

Any plans to make this available? Having the option to configure  
things in config files would make deployment processes easier,  
especially templates which are kind of considered "fixed".

Regards  
Mattias

On Aug 31, 12:14 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> There isn't an option to define index templates in the "config" (nor for  
> that matter index settings), it can only be defined through an API. Node  
> level is misleading though, the configuration is used where the index ends  
> up being created in the cluster, which is the (elected) master node.
> 
> On Wed, Aug 31, 2011 at 1:45 PM, Mattias Nordberg \<
> 
> [mattias.nordb...@gmail.com](mailto:mattias.nordb...@gmail.com)\> wrote:
> 
> > Hi,
> 
> > Having read the guides about creating index templates over the API, I  
> > haven't managed to find anything explaining how to configure them at  
> > the node level. This was nicely covered for mappings, and I tried a  
> > similar approach for index templates hoping there was perhaps a  
> > pattern, but to no avail.
> 
> > Is this something that is even possible or am I forced to create them  
> > over the API?
> 
> > Many thanks  
> > Mattias

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 31, 2011, 12:11pm UTC](https://discuss.elastic.co/t/node-level-index-templates/5286/4 "2011-08-31T12:11:33Z")

</div>

You can open an issue for it, shouldn't be too difficult to add. But, I  
personally don't view templates as fixed 🙂

On Wed, Aug 31, 2011 at 2:47 PM, Mattias Nordberg \<  
[mattias.nordberg@gmail.com](mailto:mattias.nordberg@gmail.com)\> wrote:

> Thanks for the quick reply.
> 
> Any plans to make this available? Having the option to configure  
> things in config files would make deployment processes easier,  
> especially templates which are kind of considered "fixed".
> 
> Regards  
> Mattias
> 
> On Aug 31, 12:14 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > There isn't an option to define index templates in the "config" (nor for  
> > that matter index settings), it can only be defined through an API. Node  
> > level is misleading though, the configuration is used where the index  
> > ends  
> > up being created in the cluster, which is the (elected) master node.
> > 
> > On Wed, Aug 31, 2011 at 1:45 PM, Mattias Nordberg \<
> > 
> > [mattias.nordb...@gmail.com](mailto:mattias.nordb...@gmail.com)\> wrote:
> > 
> > > Hi,
> > 
> > > Having read the guides about creating index templates over the API, I  
> > > haven't managed to find anything explaining how to configure them at  
> > > the node level. This was nicely covered for mappings, and I tried a  
> > > similar approach for index templates hoping there was perhaps a  
> > > pattern, but to no avail.
> > 
> > > Is this something that is even possible or am I forced to create them  
> > > over the API?
> > 
> > > Many thanks  
> > > Mattias

---

<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:** [July 6, 2017, 3:55am UTC](https://discuss.elastic.co/t/node-level-index-templates/5286/5 "2017-07-06T03:55:29Z")

</div>

Closed on July 6, 2017, 3:55am UTC


