# Index template settings disappear

**URL:** <https://discuss.elastic.co/t/index-template-settings-disappear/381914>\
**Category:** Kibana\
**Created:** [September 12, 2025, 7:19pm UTC](https://discuss.elastic.co/t/index-template-settings-disappear/381914 "2025-09-12T19:19:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 13, 2025, 1:36pm UTC](https://discuss.elastic.co/t/index-template-settings-disappear/381914/4 "2025-09-13T13:36:06Z")

</div>

I'll play tiebreaker here...

1. If you're using an integration which it looks like you are you should follow @leandrojmp suggestion.  
Put in your settings in the `@custom` template is the correct thing to do as it allow for upgrades in the integration package without overriding your settings

2. If you're not using an integration and you want to create your own data stream then you should follow what @Rafa_Silva is suggesting. By the way I would argue you would just clone the base logs template and follow the same pattern. I gave an example of this [here](https://discuss.elastic.co/t/custom-filestream-integration-adding-mappings/381316/5)

It seems for your current case I would go with option 1.

---

_[View the full topic](https://discuss.elastic.co/t/index-template-settings-disappear/381914)._
