# New Elasticsearch Index Template

**URL:** <https://discuss.elastic.co/t/new-elasticsearch-index-template/192903>\
**Category:** Elasticsearch\
**Created:** [July 30, 2019, 1:17pm UTC](https://discuss.elastic.co/t/new-elasticsearch-index-template/192903 "2019-07-30T13:17:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan2017](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@stefan2017](https://discuss.elastic.co/u/stefan2017)\
**Post date:** [July 30, 2019, 1:17pm UTC](https://discuss.elastic.co/t/new-elasticsearch-index-template/192903/1 "2019-07-30T13:17:08Z")

</div>

Hello All,

When installing a new index template, do you need to install it on all Elasticsearch nodes?  
Does the cluster need to be re-indexed?

Thanks you!!!

---

<div class="post-metadata">

**Author:** ![Gidi\_Kalef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gidi_kalef/32/43651_2.png) [@Gidi\_Kalef](https://discuss.elastic.co/u/Gidi_Kalef)\
**Post date:** [July 30, 2019, 4:08pm UTC](https://discuss.elastic.co/t/new-elasticsearch-index-template/192903/2 "2019-07-30T16:08:55Z")

</div>

What do you mean by new template?  
are you talking about PUT \_template api?

---

<div class="post-metadata">

**Author:** ![stefan2017](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@stefan2017](https://discuss.elastic.co/u/stefan2017)\
**Post date:** [July 30, 2019, 6:17pm UTC](https://discuss.elastic.co/t/new-elasticsearch-index-template/192903/3 "2019-07-30T18:17:09Z")

</div>

I created a Windows service to automatically upgrade Beats. The service compares the version of the ElasticSearch cluster to the version of the running beat. If the versions are not equal, the service installs the new beat. Afterwards, I want to install the new index template that matches the new beat version. The service runs the following...

.\filebeat.exe setup --template -E output.logstash.enabled=false -E output.elasticsearch.hosts=['[https://elastic01:9200](https://elastic01:9200),[https://elastic02:9200](https://elastic02:9200),[https://elastic03:9200](https://elastic03:9200),[https://elastic04:9200](https://elastic04:9200),[https://elastic05:9200](https://elastic05:9200),[https://elastic06:9200](https://elastic06:9200)'] -E output.elasticsearch.username=elastic -E output.elasticsearch.password=\*\*\*\*\*\*\*\*

When installing a new index template, do I need to install it on each ElasticSearch node?

---

<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:** [August 27, 2019, 6:17pm UTC](https://discuss.elastic.co/t/new-elasticsearch-index-template/192903/4 "2019-08-27T18:17:10Z")

</div>

Closed on August 27, 2019, 6:17pm UTC

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