Delete Indices older than 30 days
All, I'm trying to delete old indices, but I can't get it working. I have curator version 5.1 installed. I found info stating to use the following command curator --host localhost delete indices...
View ArticleDelete Indices older than 30 days
There are 2 operating modes for Curator. The one you've got is for the singleton CLI, which means you need to replace curator with curator_cli. The other operating mode is via a yml config. That...
View ArticleDelete Indices older than 30 days
waterwalker23: I found info stating to use the following command curator --host localhost delete indices --older-than 30 --time-unit days --timestring %Y-%m-%dt%H Unfortunately, that info is for...
View ArticleDelete Indices older than 30 days
Thanks for your response! I'm just now getting back to this... I've tried the following curator_cli delete_indices --filter_list --unit_count 30 --unit days --timestring %Y.%m.%d and I get an error...
View ArticleDelete Indices older than 30 days
@waterwalker23 you can't quite use curator_cli that way. That's the older 3.x syntax. The new syntax is a bit more complex, since it tries to allow for complex filters. What you're trying to do would...
View ArticleDelete Indices older than 30 days
When I run curator_cli show_indices --filter_list '{"filtertype":"age","source":"name","timestring":"%Y.%m.%d","unit":"days","unit_count":30}' I get the following Unable to create client connection to...
View ArticleDelete Indices older than 30 days
You probably still need to include the --host option, e.g. curator_cli --host localhost show_indices --filter_list...
View ArticleDelete Indices older than 30 days
I tried that, but got the same result, then changed to IP and got the following: `curator_cli --host 10.240.1.130 show_indices --filter_list...
View ArticleDelete Indices older than 30 days
So sorry! That's my bad for trying to recall all of the necessary options for the age filtertype off the top of my head. Add "direction":"older" into the filter, like this: curator_cli --host...
View ArticleDelete Indices older than 30 days
OK, I ran it by hand and that did it. Thanks. Now I want to look into scripting it. Read full topic
View ArticleDelete Indices older than 30 days
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed. Read full topic
View Article