# ILC for an Index "metricbeat-7.5.1"

**URL:** <https://discuss.elastic.co/t/ilc-for-an-index-metricbeat-7-5-1/217993>\
**Category:** Elasticsearch\
**Created:** [February 5, 2020, 12:58pm UTC](https://discuss.elastic.co/t/ilc-for-an-index-metricbeat-7-5-1/217993 "2020-02-05T12:58:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ginu/32/86297_2.png) [@ginu](https://discuss.elastic.co/u/ginu)\
**Post date:** [February 5, 2020, 12:58pm UTC](https://discuss.elastic.co/t/ilc-for-an-index-metricbeat-7-5-1/217993/1 "2020-02-05T12:58:59Z")

</div>

Hi all  
we have an issue that we have an Index which is created by metricbeat which is directly sending metrics to ElasticSearch and it creates and Index with the name metricbeat-7.5.1.  
a) What is the way to delete entries which are older than 7 days from this Index?  
b) Is there a way to create an index pattern (eg metricbeat-7.5.1-yyyy-mm-dd) in case sending metrics directly sending metrics to ElasticSearch?

Regards,  
Ginu

---

<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:** [March 4, 2020, 1:12pm UTC](https://discuss.elastic.co/t/ilc-for-an-index-metricbeat-7-5-1/217993/2 "2020-03-04T13:12:23Z")

</div>

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