Delete data in index without deleting the data


Could you please share me steps on how to delete the index data without deleting the index itself ??

If yes, then is it possible to delete the data based on timeline ?

For ex : Currently I have data from the last few months in the index.
I want to configure in such a way that at any given point of time, I would like to have data of the last one month in the index.
Any data older than one month can be permanently deleted.

Any suggestions on this would be helpful ?


You should take a look at ILM documentation in general and more specifically to Rollover feature.



1 Like

++ to ILM.
You are better off changing your indexing structure than going down this path.

1 Like

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