Rebuilding ROR indices prior to upgrading to Elastic V8

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

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

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

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

Just for clarification, are you having issues with reusing v7.x kibana indices in v8.x kibana right now?

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