Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISM and using timestrings for index age #312

Open
adaisley opened this issue Mar 17, 2022 · 2 comments
Open

ISM and using timestrings for index age #312

adaisley opened this issue Mar 17, 2022 · 2 comments

Comments

@adaisley
Copy link

Is your feature request related to a problem? Please describe.
Currently, we use Curator to manage our Elasticsearch cluster. We're looking at migrating to Opensearch and checking through compatibility issues right now. We'd like to switch over to using ISM to manage our cluster's indexes, but we aren't quite sure it has the same functionality right now.

There are some index patterns that we use the creation time as the age of the index that we want to move to warm/delete. Most of the time though, we use the timestring on the index. This can be set using different Curator filters, such as https://www.elastic.co/guide/en/elasticsearch/client/curator/current/fe_timestring.html and https://www.elastic.co/guide/en/elasticsearch/client/curator/current/fe_use_age.html

Describe the solution you'd like
When creating a Transition in ISM, under "Minimum index age" there should be an OPTIONAL option to use a timestring format which you specify, to decide on the transition trigger, instead of going off of what I believe is index creation time.
image

Describe alternatives you've considered
We haven't managed to get one working, but a fork of Curator that is completely compatible with Opensearch would also be nice, though perhaps that option misses the point of moving forward and using ISM.

Additional context
Add any other context or screenshots about the feature request here.

@adaisley adaisley added the enhancement New request label Mar 17, 2022
@dbbaughe
Copy link
Contributor

Do you have an example for how the index creation date vs the date string in the index name is causing a difference for you?

@downsrob
Copy link
Contributor

downsrob commented May 9, 2022

This other issue #65 seems to present a use case. Index creation date is reset during reindexing, but using the date string in the index name would enable transitions based on the index creation date before reindexing, as long as that original index creation date was in the index name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants