Ah, I see. You're looking for specifics, and the documentation does not do this.
The examples and docs are non-specific because every command that uses the indicessub-command uses the same Index Selection parameters, including the close command:
The links in the documentation are to help explain the usage of the nested command/subcommand structure. The same "indices" arguments that work in one example will work for all.
So how would that command look? Could you check mine below and tell me what is wrong?
curator close indices --older-than 1 %Y.%m.%d --time-unit hours
2015-11-09 17:21:51,806 ERROR Parameters --older-than and --newer-than require the --timestring parameter
Indices do not move. They are only marked as closed and unavailable for search.
There are only 2 things Elasticsearch can do with closed indices: open them, and delete them. Even deletes are a brief "open" followed by an immediate delete.
Elasticsearch cannot calculate the size of closed indices. Elasticsearch does not keep tabs on how much disk-space closed indices consume. If you close indices, you will need to rely on operating-system-level disk usage monitoring.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.