# Default index setting gets overwritten in Kibana3. How do I prevent this?

**URL:** https://discuss.elastic.co/t/default-index-setting-gets-overwritten-in-kibana3-how-do-i-prevent-this/36511
**Category:** Kibana
**Created:** [December 7, 2015, 10:13am UTC](https://discuss.elastic.co/t/default-index-setting-gets-overwritten-in-kibana3-how-do-i-prevent-this/36511 "2015-12-07T10:13:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![trekr5](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@trekr5](https://discuss.elastic.co/u/trekr5)
#### Post date: [December 7, 2015, 10:13am UTC](https://discuss.elastic.co/t/default-index-setting-gets-overwritten-in-kibana3-how-do-i-prevent-this/36511/1 "2015-12-07T10:13:44Z")

</div>

Hello,

My environment at work is Chef, Elasticsearch and Kibana 3.

I have a situation whereby the default index pattern is [logstash-]YYYY.MM.DD. However I've created a new index pattern named [application-log-]YYYY.MM.DD and want my Kibana3 to use this as the default index pattern.

However when I set this up in Kibana3 (Configure dashboard \> index \> index settings \> and put in the new pattern index pattern, [application-log-]YYYY.MM.DD  
), everytime a chef run occurs, this gets overwritten and it is now set back to [logstash-]YYYY.MM.DD.

Where do I set this up to ensure that the new index pattern pattern is used as the default for my Kibana 3 dashboard so that it doesn't get overwritten?

BTW, the new index pattern exists in Elasticsearch and works so I do have indices being created using it.

Thanks

---

<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: [December 8, 2015, 3:44am UTC](https://discuss.elastic.co/t/default-index-setting-gets-overwritten-in-kibana3-how-do-i-prevent-this/36511/2 "2015-12-08T03:44:43Z")

</div>

This sounds like a Chef problem, why is it over writing on every run?

---

<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, 2:07pm UTC](https://discuss.elastic.co/t/default-index-setting-gets-overwritten-in-kibana3-how-do-i-prevent-this/36511/3 "2017-07-06T14:07:20Z")

</div>


