Hi,
I want to reindex a couple of indices into a single one. This fails in Kibana DevTools Console, but succeeds using cURL on the command line.
Kibana DevTools Console returns:
"error" : {
"root_cause" : [
{
"type" : "parse_exception",
"reason" : "request body is required"
}
],
"type" : "parse_exception",
"reason" : "request body is required"
},
"status" : 400
}
cURL succeeds:
$ curl -XPOST "http://192.168.96.178:9200/_reindex" -H 'Content-Type: application/json' -d'{ "source": { "index": "winlogbeat-*-2020.05.*" }, "dest": { "index": "winlogbeat-2020-05" }}'
{"took":229860,"timed_out":false,"total":309582,"updated":0,"created":309582,"deleted":0,"batches":310,"version_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0,"failures":[]}
The stack is in version 7.7.1, the indices were created with version 7.7.0.
Best regards,
Robert