# Setup.template.name not working with ILM (?)

**URL:** <https://discuss.elastic.co/t/setup-template-name-not-working-with-ilm/212562>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 19, 2019, 9:02pm UTC](https://discuss.elastic.co/t/setup-template-name-not-working-with-ilm/212562 "2019-12-19T21:02:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gabriel\_tessier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_tessier/32/27911_2.png) [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)\
**Post date:** [December 20, 2019, 2:51am UTC](https://discuss.elastic.co/t/setup-template-name-not-working-with-ilm/212562/2 "2019-12-20T02:51:10Z")

</div>

Hi there!

@john_eapen you are not alone! 😀

I have the same problem, and in this thread shrikantgulia struggle with this problem:

> [@Create Index with filebeat](https://discuss.elastic.co/t/create-index-with-filebeat/211964/):
>
> Hello , I want to create a index and push data directly to elasticsearch with filebeat but i am not able to create a index its showing me the error can someone help me out. Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified

if somebody can help he will save 3 people in one thread! 🙇‍♂️

---

_[View the full topic](https://discuss.elastic.co/t/setup-template-name-not-working-with-ilm/212562)._
