Hi,
I am trying to migrate all watchers from one cluster to another (both on 7.9.2) using the "Reindex from remote" feature, but it looks like the reindex is not picking up any documents.
POST _reindex
{
"source": {
"remote": {
"host": "oldhost",
"username": "xxxxx",
"password": "xxxxx"
},
"index": ".watches",
"query": {
"match": {
"test": "data"
}
}
},
"dest": {
"index": "my_test_index"
}
}
I whitelisted all datanodes from the old cluster, but for this test I just used one of the old datanodes.
With the above POST, I get this result:
{
"took" : 21,
"timed_out" : false,
"total" : 0,
"updated" : 0,
"created" : 0,
"deleted" : 0,
"batches" : 0,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" : [ ]
}
Any idea what the issue is? I found a similar problem where the type field was the problem, but using this is deprecated in 7.9.2.
Any help is appreciated!
Thanks