At the end of each month to keep index and shard counts low, we reindex all of our daily indices into a larger monthly index. We do this by manually running a reindex job on each of our larger index groups by running the following command in DevTools in Kibana:
POST _reindex
{
"source": {
"index": ["daily-index_2020-07-06",
"daily-index_2020-07-23",
"daily-index_2020-07-27",
"daily-index_2020-07-31"
]
},
"dest": {
"index": "monthly-index_2020-07-reindex"
}
}
Recently, the devs had to make some changes to certain fields for analytics reasons. Now upon reindexing I'm given the following error:
"cause" : {
"type" : "mapper_parsing_exception",
"reason" : "object mapping for [responseVisual] tried to parse field [responseVisual] as object, but found a concrete value"
},
"status" : 400
How can I either fix this so I can reindex again or ignore these errors(assuming they still show up in Kibana correctly).
We're looking into Curator and Index Lifecycle policies to automate this in the future, but we aren't there yet.
Thank you.