Course: Certified Elasticsearch Engineer
Version: 8.1
Hi, in module 7.2, at the rollover step to refrewsh component template, the rollover solution fails due to missing items in the payload.
POST my_metrics-service.status-dev/_rollover/
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "rollover target is a [concrete index] but one of [alias,data_stream] was expected"
}
],
"type" : "illegal_argument_exception",
"reason" : "rollover target is a [concrete index] but one of [alias,data_stream] was expected"
},
"status" : 400
}
When referencing the docs for this, it appears these parameters are optional. What should the solution be given copy/pasting all of the code snippets still generates the above error?
Thanks!