Snapshot and date

Hi,
Can I make a Snapshot with a specific date? In my case I just want a snapshot with the last year data. Is it possible?
Thanks.

Unless you have time based indices it's not possible.
You have to use the reindex API to select the data you want and then store them within a new index which you can then snapshot.

Why do you want to do that BTW and not snapshot everything?

Yes, my indices are time based.

I want to make this because the reindex API doesn´t work when one instance has security and the other instance doesn't have.

I don't understand what the problem is. What "doesn't work" means here? What kind of error message did you get? On which versions?

So you can probably able to select the indices you want based on the name like foo-2019-* or use date math.

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