abuising
(Arjen Buising)
March 21, 2023, 12:47pm
#1
Hi,
We want to upgrade to Elastic V8 but we still have readonlyrest indices originating of pre-V7 versions of Elastic and the ROR plugin.
What’s the best practice to rebuild those with Elastic V7 prior to upgrading to Elastic V8?
Thanks & regards,
Arjen
sscarduzio
(Simone Scarduzio)
March 26, 2023, 8:50pm
#2
Hello @abuising !
This is a bit of a pain, but what I’d try to do is:
get a list of kibana indices you use for tenancies
install the latest version of Kibana 7.x (8.x has removed the kibana.index
setting)
for each kibana index, set kibana.index: <the-kibana-index>
in kibana.yml
start Kibana for some seconds, until it does the auto migration
abuising
(Arjen Buising)
March 27, 2023, 6:58am
#3
Hi Simone,
Thank you!
That’s what we already do for every tenancy index with every new installation of Kibana!
So those are probably recent enough then.
How should we proceed in Elastic V8 then when this setting is not available anymore?
And the .readonlyrest
index is still the original one.
How can we rebuild that one?
Thanks & regards,
Arjen
sscarduzio
(Simone Scarduzio)
March 28, 2023, 8:10am
#4
the .readonlyrest index needs to be recreated? I was not aware, how did you discover this necessary?
Moving forward we will need to re-enable main kibana index changing via the kibana patcher utility ror-tools.js. Good point!
1 Like
sscarduzio
(Simone Scarduzio)
March 28, 2023, 8:51am
#5
Just for clarification, are you having issues with reusing v7.x kibana indices in v8.x kibana right now?
abuising
(Arjen Buising)
March 28, 2023, 10:19am
#6
Hi Simone,
We are planning to upgrade to ELK V8 and we are making an inventory what we need to do to be able to do this successfully. We are currently running v7.17.6.
Thanks & regards,
Arjen
1 Like