Closed simonhearne closed 1 month ago
Note that this issue is also present in the pipeline
property, e.g.
POST _reindex
{
"source": {
"index": "index1"
},
"dest": {
"index": "${name}",
"pipeline": "prefix-${pipeline}"
}
}
This will fail with pipeline with id [prefix-${pipeline}] does not exist
Pinging @elastic/platform-deployment-management (Team:Deployment Management)
Duplicate of https://github.com/elastic/kibana/issues/161833
Describe the feature: Developer Tools variables are useful for standardising workflows. Unfortunately variables are not supported as partial elements of strings, e.g. in
_reindex
if variablename:test
:Does work:
Resulting index:
test
Does not work:
Resulting index:
prefix-${name}
Thus the following request will now fail with
index_not_found_exception
as the indexprefix-test
does not exist:Ideally variables should be usable as substrings within index name definitions. It is likely that this impacts more API endpoints beyond
_reindex
.