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

Allow setting ttl at index level #2114

Closed
tsouza opened this issue Jul 24, 2012 · 14 comments
Closed

Allow setting ttl at index level #2114

tsouza opened this issue Jul 24, 2012 · 14 comments
Assignees
Labels

Comments

@tsouza
Copy link

tsouza commented Jul 24, 2012

Allow setting ttl to index, so the whole index gets deleted when expired

@ghost ghost assigned uboness Aug 9, 2012
@bleskes bleskes mentioned this issue Oct 23, 2013
Closed
@timbunce
Copy link

+1 for this, or something like it.

@philfreo
Copy link
Contributor

philfreo commented Mar 1, 2014

+1 this would especially be useful for Marvel

@svenmeys
Copy link

+1 Definately a keeper. Also for marvel

@michelem09
Copy link

+1 especially for Marvel

@kimchy
Copy link
Member

kimchy commented Mar 19, 2014

my thoughts are that we will allow to register custom operations to be executed against an index, after a specific time has passed. Deleting an index is one thing, another is optimizing it, changing its allocation attributed, unloading bloom filters, ... .

Side note, have you looked at curator? Its an external tool that can execute those actions.

@glongman
Copy link

glongman commented Jul 8, 2014

+1 to "register custom actions"

@clintongormley
Copy link
Contributor

Given that the Curator tool now exists (https://github.com/elasticsearch/curator) and is easy to use, closing this issue.

@gdeconto
Copy link

gdeconto commented Mar 2, 2015

+1 especially for marvel

@yehosef
Copy link

yehosef commented Mar 5, 2015

Since it seems most of the people needing this are mentioning marvel - I'll add a comment. If I'm using a product that is monitoring the health of my search servers, especially one that you pay for for production, it shouldn't require me to install and configure another tool to keep it from crashing the server. The default config of marvel will eventually consume all the disk space. Marvel is making the log files, I should configure the clean up through there. If you want to install and use curator with marvel, that's fine. But we should have an interface to manage how long we want to keep archives or settings to automatically delete when the remaining space gets to (...)

@chrisinmtown
Copy link

Suggest reopening this issue. I agree strongly with @yehosef bcos it's surprising to find Marvel steadily filling the disk. Suggest default setting should be expiration & auto deletion after 7 days (not infinity).

@glongman
Copy link

glongman commented Jul 6, 2015

+1

2 similar comments
@blackside
Copy link

+1

@photofinale
Copy link

+1

@casieowen
Copy link

+1. Please! Yes, curator can do it, but it's way more efficient to set a ttl on the index at time of creation!

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

No branches or pull requests