Hello,
I have a metricbeat index. "metricbeat" index contains documents from 2019 and 2020. I want to re-index the documents from last weekend (w-1) and (w-2) (w-n).
example:
POST _reindex
{
"source": {
"index": "metricbeat*"
},
"dest": {
"pipeline": "metricbeat_reindex",
"index": "metricbeat-lastweek"
}
}
I'm looking for a pipeline "metricbeat_reindex" to determine the documents of the past week (w-1) and (w-n).