I use Elastic 7.17.
I have created an ILM and applied it to the existing indexes through the Kibana UI (section Index Management).
Each day, an index is automaticaly created but has no ILM associated.
How can I make all these newly created indexes have the ILM automaticaly associated ?
Is it possible through the UI, or do I have to run a command in the console ?
Thank you for your advice.
I didn't find an answer in this video.
My problem is about the new indexes automaticaly created. They have no ILM.
I guess the ILM have to be applied something that concerns all the indexes, past and future, like the index pattern.
I have an index template.
In the doc, I see nothing about ILM.
In Kibana, I checked the several pages of : Stack Management / Index Management / Templates / Edit template 'my_template'
and didn't find any reference to ILM.
Where is it ?
#! index template [timeseries_template] has index patterns [the_index_pattern-*] matching patterns from existing older templates [opentelemetry-lab-jaeger-service,opentelemetry-lab-jaeger-span,opentelemetry-dev-jaeger-span,otel-uat-data-jaeger-service,otel-dev-data-jaeger-service,xapi-dev-data-jaeger-service,xapi-uat-data-jaeger-service,opentelemetry-dev-jaeger-service,xapi-dev-data-jaeger-span,xapi-uat-data-jaeger-span,otel-dev-data-jaeger-span,otel-uat-data-jaeger-span] with patterns (opentelemetry-lab-jaeger-service => [*opentelemetry-lab-jaeger-service-*],opentelemetry-lab-jaeger-span => [*opentelemetry-lab-jaeger-span-*],opentelemetry-dev-jaeger-span => [*opentelemetry-dev-jaeger-span-*],otel-uat-data-jaeger-service => [*otel-uat-data-jaeger-service-*],otel-dev-data-jaeger-service => [*otel-dev-data-jaeger-service-*],xapi-dev-data-jaeger-service => [*xapi-dev-data-jaeger-service-*],xapi-uat-data-jaeger-service => [*xapi-uat-data-jaeger-service-*],opentelemetry-dev-jaeger-service => [*opentelemetry-dev-jaeger-service-*],xapi-dev-data-jaeger-span => [*xapi-dev-data-jaeger-span-*],xapi-uat-data-jaeger-span => [*xapi-uat-data-jaeger-span-*],otel-dev-data-jaeger-span => [*otel-dev-data-jaeger-span-*],otel-uat-data-jaeger-span => [*otel-uat-data-jaeger-span-*]); this template [timeseries_template] will take precedence during new index creation
{
"acknowledged" : true
}
I don't understand the line #!.....
but I see it is aknowledged.
The last automatically created indexes still have ilm.managed:false, but I guess this command will be applied to future indexes.
I will see tomorrow and tell you.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.