Bash Script – Remove Indices from x Days Ago

Hi please help or suggest any solution. My cluster is running over pod on eks

Hi @Shanu_Modi ,

Have you tried Configure a lifecycle policy | Elasticsearch Guide [master] | Elastic already?

Cheers

I have requirement to write bash script

@Shanu_Modi maybe in that case you can use the API? Create or update lifecycle policy API | Elasticsearch Guide [8.1] | Elastic

Cheers

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