Selective deletion of indices

I have a ruby web app with a search function that is enabled by Elasticsearch.

There are 2 types of content

  • Content A which should be searchable indefinitely
  • Content B which is time-sensitive and no longer relevant after 90 days

How can I auto delete indices of content A beyond 90 days which always keeping content A indices ?

Welcome to our community! :smiley:

Take a look at ILM to manage this for you.

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