# How to clean metricbeat index every 30 days without x-pack?

**URL:** <https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 19, 2019, 2:57pm UTC](https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313 "2019-10-19T14:57:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mai\_Waly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mai_waly/32/53763_2.png) [@Mai\_Waly](https://discuss.elastic.co/u/Mai_Waly)\
**Post date:** [October 19, 2019, 2:57pm UTC](https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313/1 "2019-10-19T14:57:16Z")

</div>

Please help How to clean metricbeat index every 30 days without x-pack?

---

<div class="post-metadata">

**Author:** ![Mai\_Waly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mai_waly/32/53763_2.png) [@Mai\_Waly](https://discuss.elastic.co/u/Mai_Waly)\
**Post date:** [October 19, 2019, 3:09pm UTC](https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313/2 "2019-10-19T15:09:08Z")

</div>

I can see 2 policies in Kibana (7.4) that we have

slm-history-ilm-policy   
watch-history-ilm-policy

I dont know the diff and if this is free or part of x-pack but it looks active with basic license.

Can I link my metricbeat to it and will still be working under basic license

---

<div class="post-metadata">

**Author:** ![Mai\_Waly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mai_waly/32/53763_2.png) [@Mai\_Waly](https://discuss.elastic.co/u/Mai_Waly)\
**Post date:** [October 19, 2019, 5:21pm UTC](https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313/3 "2019-10-19T17:21:09Z")

</div>

Is there away to know what x-pack features is free for basic license and what is not free, I will assume as long as not trail is activated everything is working under basic license is free, which will include index Management and index life cycle management policies right?

---

<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:** [October 19, 2019, 5:32pm UTC](https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313/4 "2019-10-19T17:32:32Z")

</div>

[Here](https://www.elastic.co/subscriptions) is a complete list of what features are available in the basic subscription the comparison to other subscription levels and open source.

And yes if you downloaded the stack from the elastic website and do not install the trial license you will be running the basic distribution with all the basic features available to you.

Index lifecycle management is a basic feature.

---

<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 16, 2019, 5:32pm UTC](https://discuss.elastic.co/t/how-to-clean-metricbeat-index-every-30-days-without-x-pack/204313/5 "2019-11-16T17:32:33Z")

</div>

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