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

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 ?

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.

1 Like

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 ?

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.