day-wise indices that are named like
myindex-2020-10-02 and so on. I want to re-index them into monthly indices named
myindex-2020-09 and so on.
If I have an existing
template that has the pattern
myindex-*, is there a way to alter the pattern so that it matches only the monthly indices?
"order" : 0, "index_patterns" : [ "myindex-*" ],
to something like
"order": 1, "index_patterns" : [ "myindex-yyyy-mm" ],
Does this work? So that the former continues to match day-wise indices and latter matches only