# Setting inside config file not work

**URL:** <https://discuss.elastic.co/t/setting-inside-config-file-not-work/143838>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 10, 2018, 8:59am UTC](https://discuss.elastic.co/t/setting-inside-config-file-not-work/143838 "2018-08-10T08:59:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cythwell](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@cythwell](https://discuss.elastic.co/u/cythwell)\
**Post date:** [August 10, 2018, 8:59am UTC](https://discuss.elastic.co/t/setting-inside-config-file-not-work/143838/1 "2018-08-10T08:59:14Z")

</div>

Hi, I am trying set up the following.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d7471640091e4553f31a37b58b9bccf93ecd013.png)  
Unfortunately the setting of "setup.template.settings" not work..  
After index created, the number\_of\_share still set to default 3, and the refresh\_interval default as 5s.  
Is there anything wrong inside the config file？

Also do filebeat have any way to check if the setting is available ? As I also want to confrim if the setting "queue.mem" is working...

thanks

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [August 10, 2018, 5:39pm UTC](https://discuss.elastic.co/t/setting-inside-config-file-not-work/143838/2 "2018-08-10T17:39:49Z")

</div>

Your configuration is OK. Are you sure that the indices you are checking were created after the template was installed?

Note that this is an index template, it affects indices that are created after the template is set, but doesn't change settings on existing indices.

---

<div class="post-metadata">

**Author:** ![cythwell](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@cythwell](https://discuss.elastic.co/u/cythwell)\
**Post date:** [August 13, 2018, 7:28am UTC](https://discuss.elastic.co/t/setting-inside-config-file-not-work/143838/3 "2018-08-13T07:28:11Z")

</div>

Hi @adrisr , It work when I delete the current template and re-sent the doc.  
Seems the template can not auto-renew the template....  
Btw, sorry for the late reply and thank you

---

<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:** [September 10, 2018, 7:28am UTC](https://discuss.elastic.co/t/setting-inside-config-file-not-work/143838/4 "2018-09-10T07:28:12Z")

</div>

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