-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Closed
Copy link
Labels
:Distributed Indexing/ReindexIssues relating to reindex that are not caused by issues further downIssues relating to reindex that are not caused by issues further down>bug
Description
5.2
When running the reindex from remote api, if the source index name(s) are specified without encoding, it will complain about the /. So for the source, it expects date math support index names to be URI encoded.
"index": [
"%3Cfilebeat-%7Bnow%2Fd-1d%7D%3E",
"%3Cfilebeat-%7Bnow%2Fd%7D%3E"
]
But in the dest section of the reindex from remote api, when specifying URI encoded index names with date math support, it will throw the exception (because it expects the non-URI encoded version of the name):
"type": "invalid_index_name_exception",
"reason": "Invalid index name [%3Cfilebeat-consolidated-%7Bnow%7D%3E], must be lowercase",
It will be nice for source.index and dest.index to be consistent when date math is used. If this is by design, it will be good to document this.
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/ReindexIssues relating to reindex that are not caused by issues further downIssues relating to reindex that are not caused by issues further down>bug