# Restart elasticseach master overriding some index template

**URL:** <https://discuss.elastic.co/t/restart-elasticseach-master-overriding-some-index-template/270187>\
**Category:** Elasticsearch\
**Created:** [April 15, 2021, 6:26am UTC](https://discuss.elastic.co/t/restart-elasticseach-master-overriding-some-index-template/270187 "2021-04-15T06:26:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannan\_raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kannan_raj/32/63201_2.png) [@kannan\_raj](https://discuss.elastic.co/u/kannan_raj)\
**Post date:** [April 15, 2021, 6:26am UTC](https://discuss.elastic.co/t/restart-elasticseach-master-overriding-some-index-template/270187/1 "2021-04-15T06:26:47Z")

</div>

We have faced some weird issue. restarting master node overriding alias name in index template. we have an three master and couple of data nodes

index\_template before restart master node.

> "aliases" : {  
> "pmetrics-mobile-prod" : { }  
> }

index\_template after restart master node.

> "aliases" : {  
> "pmetrics" : { }  
> }

we didn't find anything from master log.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 15, 2021, 6:38am UTC](https://discuss.elastic.co/t/restart-elasticseach-master-overriding-some-index-template/270187/2 "2021-04-15T06:38:48Z")

</div>

What version are you on?  
How are you finding this error?  
How is the index template being loaded into Elasticsearch?

---

<div class="post-metadata">

**Author:** ![kannan\_raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kannan_raj/32/63201_2.png) [@kannan\_raj](https://discuss.elastic.co/u/kannan_raj)\
**Post date:** [April 15, 2021, 6:47am UTC](https://discuss.elastic.co/t/restart-elasticseach-master-overriding-some-index-template/270187/3 "2021-04-15T06:47:00Z")

</div>

Elasticsearch version is 7.9.0, using python script to load the template, verified logs manually after reboot master. we use the the same template version and keep update the template if its required.

---

<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:** [May 13, 2021, 6:47am UTC](https://discuss.elastic.co/t/restart-elasticseach-master-overriding-some-index-template/270187/4 "2021-05-13T06:47:42Z")

</div>

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