# Cannot start filebeat with configuration file

**URL:** <https://discuss.elastic.co/t/cannot-start-filebeat-with-configuration-file/333338>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 12, 2023, 9:05pm UTC](https://discuss.elastic.co/t/cannot-start-filebeat-with-configuration-file/333338 "2023-05-12T21:05:26Z")\
**Posts on this page:** 1\
**Showing post:** 20

<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:** [May 15, 2023, 2:23pm UTC](https://discuss.elastic.co/t/cannot-start-filebeat-with-configuration-file/333338/20 "2023-05-15T14:23:31Z")

</div>

> [@Yasser\_Alsawy](#):
>
> `index: "yasser-%{+yyyy.MM.dd}]"` \<\<\<\<

Typos.....it's right there

And since you create your own index you need to create your own index pattern it is not automatically created for you.

And shouldn't this be enabled

> [@Yasser\_Alsawy](#):
>
> ```auto
> setup.template:
> enabled: false
> 
> ```

Also you might want to look at [this](https://discuss.elastic.co/t/filebeat-writing-to-its-own-index/310842/28) post If you are indeed, set to on creating your own indices 🙂

Again, I normally suggest starting with the defaults and learning and then creating interesting things ... 🙂

---

_[View the full topic](https://discuss.elastic.co/t/cannot-start-filebeat-with-configuration-file/333338)._
