Created
November 13, 2014 11:52
-
-
Save crunchie84/cd117ea652a0d1e61d66 to your computer and use it in GitHub Desktop.
install elasticsearch curator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://github.com/elasticsearch/curator/wiki/Installation | |
apt-get install python-pip python-dev build-essential | |
pip install elasticsearch-curator | |
which curator | |
# => /usr/local/bin/curator | |
crontab -e | |
# add this to run at 3:01AM cleanup of old indices older then 90 days | |
01 03 * * * /usr/local/bin/curator --host localhost --port 9200 delete --older-than 90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment