Created
March 16, 2015 10:02
-
-
Save PSJoshi/fa09dc45adc9ff62ff1c to your computer and use it in GitHub Desktop.
elasticsearch-curator
This file contains hidden or 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
| [root@mgr ELK]# curator --version | |
| curator, version 3.0.0 | |
| [root@mgr ELK]$ which curator | |
| /usr/bin/curator | |
| [root@mgr ELK]# curator --host 10.4.0.45 bloom indices --time-unit days --timestring "%Y-%m-%d" --older-than 2 | |
| 2015-03-16 15:21:03,404 INFO Job starting... | |
| 2015-03-16 15:21:03,556 WARNING Bloom filters no longer exist for search in Elasticsearch since v1.4.0 | |
| [root@mgr ELK]# curator --host 10.4.0.45 close indices --time-unit days --timestring "%Y-%m-%d" --older-than 15 | |
| ERROR. No indices matched provided args. | |
| [root@mgr ELK]# curator --host 10.4.0.45 close indices --time-unit days --timestring "%Y-%m-%d" --older-than 3 | |
| 2015-03-16 15:26:42,958 INFO Job starting... | |
| Ref links - | |
| https://github.com/elastic/curator/wiki/index-selection | |
| https://github.com/elastic/curator/wiki/Command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment