I am trying to reindex the index with reindex api by providing a proper request body with the Source and Destination Index details and still iam receiving Request body is required Error.
Please find below Request and response Message screenshot.
Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them
So, I am trying to reindex the elasticsearch indices with the below request, and I am using Dev tools in Kibana for this operation.
"""
POST _reindex
{
"source": {
"index": "flows-2023.02.25-000314"
},
"dest": {
"index": "dev_index_new"
}
}
"""
and it produced the output as below
"""
{
"error" : {
"root_cause" : [
{
"type" : "parse_exception",
"reason" : "request body is required"
}
],
"type" : "parse_exception",
"reason" : "request body is required"
},
"status" : 400
}
"""
Am i doing anything wrong in this ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.