Hi!
I'm trying to move my data from our old server to our new one through reindexing. This is the command I'm using in the Kibana console from the new server:
POST _reindex
{
"source": {
"remote": {
"host": "http://xxx.xxx.xxx.xxx:5601"
},
"index": "kpi_execution_time",
"query": {
"match_all": {}
}
},
"dest": {
"index": "kpi_execution_time"
}
}
However, I immediately recieve this error in response, and I have not been able to find anyone with a similar error:
{
"error": {
"root_cause": [
{
"type": "exception",
"reason": "Response didn't include Content-Type: body=<script>var hashRoute = '/app/kibana';\nvar defaultRoute = '/app/kibana';\n\nvar hash = window.location.hash;\nif (hash.length) {\n window.location = hashRoute + hash;\n} else {\n window.location = defaultRoute;\n}</script>"
}
],
"type": "exception",
"reason": "Response didn't include Content-Type: body=<script>var hashRoute = '/app/kibana';\nvar defaultRoute = '/app/kibana';\n\nvar hash = window.location.hash;\nif (hash.length) {\n window.location = hashRoute + hash;\n} else {\n window.location = defaultRoute;\n}</script>"
},
"status": 500
}
What could be the cause of this? Thank you!