Renaming a index in Elasticsearch so it falls into a desired index pattern
My goal is to rename an index named foo, so it falls into an index pattern named bar, which includes indices named bar*. I do not want to reindex the whole index so its rather large, for it would take up massive amounts of resources.