Describe the issue:
Hi, I am trying to reindex remotely from elastic search to opensearch.
POST /_reindex
{
“source”: {
“remote”:{
“host”: “https://1.1.1.1:9200”,
“username”: “admin”,
“password”: “sghasasjkhasklx”
},
“index”: “wazuh-alerts-4.x-2024.03*”,
“size”: 10000
},
“dest”: {
“index”: “new-index”
}
}
I am getting the error
{
“error”: {
“root_cause”: [
{
“type”: “illegal_argument_exception”,
“reason”: “[1.1.1.1:9200] not allowlisted in reindex.remote.allowlist”
}
],
“type”: “illegal_argument_exception”,
“reason”: “[1.1.1.1:9200] not allowlisted in reindex.remote.allowlist”
},
“status”: 400
}
How can I solve this
Relevant Logs or Screenshots:
“stacktrace”: [“java.lang.IllegalArgumentException: [1.1.1.1:9200] not allowlisted in reindex.remote.allowlist”,
“stacktrace”: [“java.lang.IllegalArgumentException: [1.1.1.1:9200] not allowlisted in reindex.remote.allowlist”,
“stacktrace”: [“java.lang.IllegalArgumentException: [1.1.1.1:9200] not allowlisted in reindex.remote.allowlist”,
“stacktrace”: [“java.lang.IllegalArgumentException: [1.1.1.1:9200] not allowlisted in reindex.remote.allowlist”,