We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It should be possible to use instead of one very large index multiple indices e.g. one per week. That would allow the use of curator (https://www.elastic.co/guide/en/elasticsearch/client/curator/5.8/index.html) for automatic deletion of older data.
The text was updated successfully, but these errors were encountered:
Right now, to delete old (older than 3 months) emails:
POST elasticsearch:9200/<index-name>/_delete_by_query { "query": { "bool": { "filter" : [ { "range" : { "firstProcessed" : { "lte" : "now-3M"}}} ] } } }
To free up space:
http://elasticsearch:9200/<index-name>/_forcemerge?only_expunge_deletes=true ``
Sorry, something went wrong.
No branches or pull requests
It should be possible to use instead of one very large index multiple indices e.g. one per week. That would allow the use of curator (https://www.elastic.co/guide/en/elasticsearch/client/curator/5.8/index.html) for automatic deletion of older data.
The text was updated successfully, but these errors were encountered: