Hello,
I’m writing a program to transfer indices from one cluster to another. I want to create for every index in the source an index in the target. The solution I choose is to use the _reindex remote API.
Now, after one index is transfered I change the source index and want to change the target index to a new one, e.g. from import_1 to import_1 and write to it generating this mapping:
Source Target graylog_100 -> import_1 graylog_101 -> import_2 graylog_102 -> import_3
What steps do I need to do with the REST api to basically mimic the command “Rotate active write index” from the WebUI.