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

Not counting closed indices in curate by space #57

Closed
poolski opened this issue Mar 17, 2014 · 1 comment
Closed

Not counting closed indices in curate by space #57

poolski opened this issue Mar 17, 2014 · 1 comment

Comments

@poolski
Copy link

poolski commented Mar 17, 2014

I run an ELK stack and keep the last 30 days' worth of indices open for searching with Kibana. I automatically close any indexes older than 30 days using Curator, which works fine.

However, I'm looking to build in automation for keeping on top of disk space use and I've found that when I run

 /usr/local/bin/curator --host localhost --prefix logstash- -C space -g 200

It seems to only take into account the currently-open indices, which implies it will run into issues when I run up against the 200G limit I've set, as the open indexes will never be that large.

Is this an intended feature or does something need altering in order to account for closed indexes as well when running a space-based cleanup?

@honzakral
Copy link
Contributor

Hi Poolski,

this is an intended feature because elasticsearch cannot give us the size of a closed index.

Unfortunately there isn't anything we can easily do there.

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

No branches or pull requests

2 participants