Searching via a regex (e.g. /^([^:]+):[^:]/) would be a more future-proof way of targeting a remote cluster name while avoiding the double colon syntax. There may be other ways, depending on what you are attempting.
Concrete examples of this problem will be addressed in separate issues attached to this one as sub-issues.
More information in this issue. The following assumptions will no longer be valid:
Instead, we must be prepared for index pattern strings to present the following pattern:
{remote_cluster}:{index_name}::{failure_store_suffix}
Searching via a regex (e.g.
/^([^:]+):[^:]/
) would be a more future-proof way of targeting a remote cluster name while avoiding the double colon syntax. There may be other ways, depending on what you are attempting.Concrete examples of this problem will be addressed in separate issues attached to this one as sub-issues.