# Date part in index names were removed automatically and the logs inside also removed

**URL:** <https://discuss.elastic.co/t/date-part-in-index-names-were-removed-automatically-and-the-logs-inside-also-removed/253990>\
**Category:** Elasticsearch\
**Created:** [November 2, 2020, 8:13am UTC](https://discuss.elastic.co/t/date-part-in-index-names-were-removed-automatically-and-the-logs-inside-also-removed/253990 "2020-11-02T08:13:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ibrahim\_ozbek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibrahim_ozbek/32/78257_2.png) [@Ibrahim\_ozbek](https://discuss.elastic.co/u/Ibrahim_ozbek)\
**Post date:** [November 2, 2020, 8:13am UTC](https://discuss.elastic.co/t/date-part-in-index-names-were-removed-automatically-and-the-logs-inside-also-removed/253990/1 "2020-11-02T08:13:11Z")

</div>

I started sending data to elasticsearch via filebeat and metricbeat. The corresponding indexes were created and I worked on dashboards. After two or three days, the filebeat and metricbeat index names changed from filebeat-7.9.3-2020.10.30-000001 to filebeat-7.9.3 and from metricbeat-7.9.3-2020.10.30-000001 to metricbeat-7.9.3. And the data of indexes were removed. The shards were broken and the dashboards are not working.

What can be the reason? Is there a configuration setting related to that issue?

---

<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:** [November 30, 2020, 8:13am UTC](https://discuss.elastic.co/t/date-part-in-index-names-were-removed-automatically-and-the-logs-inside-also-removed/253990/2 "2020-11-30T08:13:14Z")

</div>

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