# Issue with index name

**URL:** <https://discuss.elastic.co/t/issue-with-index-name/299100>\
**Category:** Elasticsearch\
**Created:** [March 8, 2022, 2:10pm UTC](https://discuss.elastic.co/t/issue-with-index-name/299100 "2022-03-08T14:10:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![humartinez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/humartinez/32/46395_2.png) [@humartinez](https://discuss.elastic.co/u/humartinez)\
**Post date:** [March 8, 2022, 2:10pm UTC](https://discuss.elastic.co/t/issue-with-index-name/299100/1 "2022-03-08T14:10:45Z")

</div>

Hi,  
I can't change my index name im using filebeat 7.14.1 and filebeat won't change my index name to the one that I have in my config  
The docs are idexed to filebeat-7.14.1, pleas what am I doing wrong in here

```auto
output.elasticsearch:
  enabled: true
  hosts: ["elastic:9200"]
  index: "mongoatlas-%{+yyyy.MM.dd}"
  username: "elastic"
  password: "xxxx"
logging.level: info
logging.selectors: ["*"]
setup.template.name: "mongoatlas"

```

---

<div class="post-metadata">

**Author:** ![suri2905](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suri2905/32/102768_2.png) [@suri2905](https://discuss.elastic.co/u/suri2905)\
**Post date:** [March 8, 2022, 3:18pm UTC](https://discuss.elastic.co/t/issue-with-index-name/299100/2 "2022-03-08T15:18:20Z")

</div>

You should upgrade to version 7.16.  
@[hotmail login](https://sites.google.com/view/ihotmaillogin/)

---

<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:** [April 5, 2022, 3:18pm UTC](https://discuss.elastic.co/t/issue-with-index-name/299100/3 "2022-04-05T15:18:33Z")

</div>

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