# How can I use ILM with elasticsearch-oss:7.9.3?

**URL:** <https://discuss.elastic.co/t/how-can-i-use-ilm-with-elasticsearch-oss-7-9-3/356829>\
**Category:** Elasticsearch\
**Tags:** license\
**Created:** [April 5, 2024, 2:33am UTC](https://discuss.elastic.co/t/how-can-i-use-ilm-with-elasticsearch-oss-7-9-3/356829 "2024-04-05T02:33:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![inguemom76](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inguemom76/32/133299_2.png) [@inguemom76](https://discuss.elastic.co/u/inguemom76)\
**Post date:** [April 5, 2024, 2:33am UTC](https://discuss.elastic.co/t/how-can-i-use-ilm-with-elasticsearch-oss-7-9-3/356829/1 "2024-04-05T02:33:07Z")

</div>

Hello Team,

I am using elasticsearch-oss:7.9.3.  
But I want to add ILM policy for delete policy but \_idm index is not found in DB so push command is failed.  
I just wanted to know, If I wanted to use idm policy in ELK stack.  
Isn't it basic stack from 6.7 ? Do I require a license for the same ?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 5, 2024, 2:53am UTC](https://discuss.elastic.co/t/how-can-i-use-ilm-with-elasticsearch-oss-7-9-3/356829/2 "2024-04-05T02:53:26Z")

</div>

Hello and welcome,

ILM was never part of the OSS distribution, it was only available when using the Elastic distribution, it also does not require a paid license, the basic free license is enough.

Since version 7.10 there is no more an OSS distribution of Elasticsearch, so to use ILM you would need to use a newer version with the basic free license.

---

<div class="post-metadata">

**Author:** ![inguemom76](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inguemom76/32/133299_2.png) [@inguemom76](https://discuss.elastic.co/u/inguemom76)\
**Post date:** [April 8, 2024, 6:46am UTC](https://discuss.elastic.co/t/how-can-i-use-ilm-with-elasticsearch-oss-7-9-3/356829/4 "2024-04-08T06:46:48Z")

</div>

Thanks for your fast response.  
I try to change docker image to elasticsearch:7.0.1.  
But the pod didn't start for permission of /usr/share/elasticsearch/data  
although it changed permission with sh script in initcontainers same as OSS version.  
Is there anything else that needs to be corrected ?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 8, 2024, 11:53am UTC](https://discuss.elastic.co/t/how-can-i-use-ilm-with-elasticsearch-oss-7-9-3/356829/5 "2024-04-08T11:53:32Z")

</div>

> [@inguemom76](#):
>
> Is there anything else that needs to be corrected ?

No idea, I do not use docker to deploy elasticsearch, this seems to be an issue with docker, and not Elasticsearch.

Is `7.0.1` a typo? Do you mean `7.10.1` ?

Keep in mind that this version is not supported anymore, the only version supported for the 7.X branch is 7.17.

Also, I suggest that you create a snapshot of your data if you cannot afford to lose it.
