mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[esArchiver] log when migrations complete and we're done loading data (#89938)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
3c0d30cbfd
commit
6cf1951b53
1 changed files with 2 additions and 0 deletions
|
@ -98,9 +98,11 @@ export async function loadAction({
|
|||
// If we affected the Kibana index, we need to ensure it's migrated...
|
||||
if (Object.keys(result).some((k) => k.startsWith('.kibana'))) {
|
||||
await migrateKibanaIndex({ client, kbnClient });
|
||||
log.debug('[%s] Migrated Kibana index after loading Kibana data', name);
|
||||
|
||||
if (kibanaPluginIds.includes('spaces')) {
|
||||
await createDefaultSpace({ client, index: '.kibana' });
|
||||
log.debug('[%s] Ensured that default space exists in .kibana', name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue