I changed the dest index and got another error.
POST _reindex?wait_for_completion=true
{
"source": {
"index": "apm-7.8.1-transaction-000007",
"query": {
"match_all": {}
}
},
"dest": {
"index": "xxx",
"pipeline": "apm"
}
}
{
"took" : 15389,
"timed_out" : false,
"total" : 2005123,
"updated" : 0,
"created" : 5999,
"deleted" : 0,
"batches" : 6,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" : [
{
"index" : "xxx",
"type" : "_doc",
"id" : "ETAfOHcB06kXv1MquoHJ",
"cause" : {
"type" : "mapper_parsing_exception",
"reason" : "failed to parse field [request_body.fromDateTime] of type [date] in document with id 'ETAfOHcB06kXv1MquoHJ'. Preview of field's value: ''",
"caused_by" : {
"type" : "illegal_argument_exception",
"reason" : "cannot parse empty date"
}
},
"status" : 400
}
]
}