Hi @fim01. It looks like you are trying to concatenate multiple indices into a single index. The _clone endpoint does not support this as it only supports a single source index to a single destination index.
ILM is in fact already active. The problem I try to solve. I've 350+ indices (each 4GB+) and want to save them for later use. _reindex into a single index takes 12 days (approx. calculation) which is not acceptable for us.
Hence I tried with _clone api which is extremly fast. But now I have to type manually 350 times different source and destination index name.
Hence my question, is there a for-loop available in Kibana DevTools?
It doesn't matter whether I have a single index or same number of indices after the _clone.
Hence my question, is there a for-loop available in Kibana DevTools?
No, there is no for loop in DevTools. I would recommend something like a bash process. Perhaps you could modify the example in the Reindex documentation to use the _clone endpoint?
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.